OptimiseWeb

Optimise Web's Mass 301 Redirects

  • Popularity Score 1078 Popularity Score

    Popularity ScoreReferrals to Site/Downloads

    0 0 1+ 1+ 250+ 250+ 1000+ 1000+ 10000+ 10000+

The Optimise Web Redirects extension helps set up bulk 301 redirects by uploading the URL data in a CSV file.
Compatible with:
This extension is currently unavailable on Magento Connect. Please contact the developer.

You will be re-directed to the developer's website to complete your purchase.

You must be registered and logged in to get extension key.
In order to get this extension, you must be logged in to the Magento Community. Click here to login or register.
In order to get this extension, you must have active Magento Go Store. Click here to create Go store.

Magento Connect 2.0

Magento Connect 2.0

FREE
Previous Next
Overview

Optimise Web's Mass 301 Redirects

Mass / Bulk Redirects (301, 302, or any status) for Magento

Magento has an internal URL Rewrite Management system. Magento can automatically add redirects for new and changed categories and products. However, it can be a laborious task to add all your custom redirects / redirects from an old website, one by one.

How Does This Module Work?

Optimise Web's Bulk Redirects extension for Magento allows you to upload all your redirect data as a CSV file. This module is purely CSV file based (doesn't touch the database). Consider this as an alternative to adding 301 redirects into the .htaccess file.

When a missing URL is requested, Magento's routing system will first look within its database table for available rewrites. If Magento cannot find a suitable redirect, it will present your visitor with a 404 error page. This redirect module is set to work between Magento's internal check and the 404 page. When Magento cannot find a suitable redirect, this module will try and find one. If this module cannot find a matching redirect, the visitor will then be sent to the 404 page.

There are three methods of redirects that are available. They all work one after the other. The module implements a Best Match approach. If a matching redirect is found in the first method, Magento uses it and doesn't look at the rest of the CSV file or the remaining methods.

Method 1 - Legacy

I called this Legacy as it was the first option I wrote for this module. Many Magento retailers still use this option. I did not want their websites to stop working. So it is still here.

CSV Format:
http://www.oldurl.com/oldpath;http://www.newurl.com/newpath
Notice the semicolon. In the past, this module used a semicolon to separate the URLs. Please note that this option uses just a single cell of the CSV file in Excel.
A sample file is available here http://optimiseweb.co.uk/magento-modules/1-Legacy.csv

Method 2 - Redirects System v1.0

Many retailers were struggling with the semicolon and single cell based redirects. So, I made this into a three cell redirect.

CSV Format:
http://www.oldurl.com/oldpath,http://www.newurl.com/newpath,status_code
Notice the comma as a separator. I have now given an option for you to customise the delimiter / separator. Excel saves the CSV using commas. However, you can choose to use any character, even a pipe delimiter.
The status_code will be 301 or 302. Now this version on, you can define the status code (required for the redirects to work) as well.
Another big improvement to this module is the wildcard character. You can define a wildcard character in the options screen and use it in the CSV file.
e.g. http://www.oldurl.com/oldpath/*,http://www.newurl.com/newpath/newsublevel,301
This will match URL that follows http://www.oldurl.com/oldpath/ and redirect them all to http://www.newurl.com/newpath/newsublevel.
A sample file is available here http://optimiseweb.co.uk/magento-modules/2-Redirects.v1.0.csv

Method 2 - Query String Based Redirects

The query string based option was developed primarily for retailers moving away from old school ecommerce platforms that used query strings in their URLs. It can also be used by existing Magento retailers who have deleted a product attribute, stopped a Google Adwords campaign, etc.

CSV Format:
http://www.oldurl.com/oldbasepath,prod_id,170,http://www.newurl.com/newproducturl,status_code
The settings, delimiter, wildcard options are similar to Method 2.
The second column is the query string name and the third column is the query string value.
e.g. http://www.oldurl.com/oldbasepath,prod_id,170,http://www.newurl.com/newproducturl,301
This will match all of the following
http://www.oldurl.com/oldbasepath?prod_id=170
http://www.oldurl.com/oldbasepath?cat_id=24&prod_id=170
http://www.oldurl.com/oldbasepath?prod_id=170&cat_id=24
Please Note: This module works on a best match basis. If you had a redirect setup for the cat_id query before the prod_id query, both the above URLs will redirect to the category page. This is because cat_id is the best match. If you setup prod_id before cat_id, then the product page would take priority. It is very rare that old ecommerce systems will call both the category id and product id in the same URL. However, I am just illustrating the best match scenario.
A sample file is available here http://optimiseweb.co.uk/magento-modules/3-QueryStringBasedRedirects.csv



PLEASE READ THIS

- This module is widely tested and works on most standard Magento setups.
- If the module isn't working for you, you have most likely not followed the standard Magento module installation routine. Read the FAQs below.
- Before leaving negative feedback or writing an email to us, please check the following - Turn Off Compilation Before Installation, Clear Cache After Installation, Log Off and Log Back Into the Admin
- 99% of the time, when users install the module and it doesn't work, we investigate and find out that there are other problems (server issues, file and folder permissions, conflicting modules, etc.).
- Please note that this is a very useful, but free module. We cannot be doing email ping pong all day long. If you need us to look into a problem, send us a private message with your Magento admin (with full access rights) password and FTP details. Without this we will have to embark on a email ping pong and that takes a lot of time. We hope you will understand.
- Thank you very much for taking time to use our module.

Features

- If you disable a product in Magento and add a redirect for that product via this module, the redirect will not work as according to Magento the product is still in the system. You will have to delete the product for the redirect to work. I'll look into finding a work around for this.

Download and Upload of CSV
- Using the system configuration panel. System > Configuration > Optimise Web (tab) > Mass 301 Redirects
- Always remember to download the previously uploaded CSV and add new redirects to it. Uploading a new CSV will overwrite the old CSV and you will lose all previously uploaded 301 redirects.

FAQs

1. Why am I not seeing the system settings? Why am I getting a 404 error?

As with the installation of all Magento modules, please clear the cache folders and log out of the admin area and log back in. Please also flush your CSS and JS caches.

2. Should I backup Magento's files and database?

Yes. Please make it a point to backup your files and database before installing or upgrading any Magento module.

3. Will the module work with compilation?

Yes. Still, make sure you disable compilation when installing the module. Please write to us, if you encounter any problems.

4. Do you offer support for this extension?

This is a free extension and support will be limited. Please write to us and we'll do our best to help you out.

Release Notes

Bug Fix

2014-02-03 00:54:34
  • Version number: 0.1.9
  • Stability: Stable
  • Compatibility: 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7, 1.8, 1.8.1
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

Bug Fix - Parse Query was not being checked and creating log errors. Fixed it.

Bug Fix

2013-11-07 15:49:31
  • Version number: 0.1.8
  • Stability: Stable
  • Compatibility: 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7, 1.8
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

Bug Fix - Ability to download the CSV file down to the store view level.

New update with two new features.

2013-11-07 14:34:58
  • Version number: 0.1.7
  • Stability: Stable
  • Compatibility: 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7, 1.8
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

* Improved CSV file support
* Ability to provide query string based redirects
* Old CSV will still work as the first option

Class Rename

2013-07-24 10:44:40
  • Version number: 0.1.5
  • Stability: Stable
  • Compatibility: 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

Fixes problems that were arising with compilations.

First stable release

2012-10-14 11:24:13
  • Version number: 0.1.3
  • Stability: Stable
  • Compatibility: 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

First stable release
Reviews

About the Developer

This extension was developed by and is supported by OptimiseWeb

Optimise Web's Mass 301 Redirects 4.5 5 38 38
The plugin works excellent I had problems with the plugin and the support was excellent. I have solved my problems in less than an hour. Thanks. August 27, 2014
Top Extension, Top Support Had an issue with my CSV file which I had not spotted, emailed support and solution in under an hour. Cannot praise support enough. August 13, 2014
Awesome and Free! I have found Optimise Web Redirects is an easy to use mass redirect extension. Quick response to questions put to the developer. August 1, 2014
Great plugin This is a great a plugin. It saved me a lot of time and headache. Support is amazing. They replied to my inquiry within a few minutes. Great work! Keep it up. July 8, 2014
Currently not a solution for me Had an issue with live redirects. Since I was trying to redirect a product that was still inside Magento, it wouldn't work. Unfortunately I can't do that at this moment. I was told that there will be a new release with an update that will fix this issue. Although support was GREAT, the only problem is I need a solution that works, in my case, for me now, not later. May 28, 2014
Not recommended Fatal error: Class 'Optimiseweb_Redirects_Helper_Data' not found in /homepages/27/d116833332/htdocs/app/Mage.php on line 546 May 26, 2014
Very nice and quick support I had some start problems, that the document aparently didn't have linebreaks, and it broke the whole thing, after this was fixed it justs works like a charm :) May 21, 2014
Great Service! Wonderful service. I give Sid a 5 Star rating! Bob Sorenson May 9, 2014
Disabled Products I added this method to the Redirector.php observer protected function disabledProductCheck($actionName) { if ($actionName != 'noRoute') { if($tempProduct = Mage::getModel('catalog/product')->load(Mage::app()->getRequest()->getParam('id'))) { if($tempProduct->getStatus() == 2) { $actionName = 'noRoute'; } } } return $actionName; } I then updated doRedirectsMethod to be ..... $actionName = $request->getActionName(); $actionName = $this->disabledProductCheck($actionName); ..... It basically checks if on a product page and sets the actionName to noRoute if the product is disabled. April 8, 2014
Super for generel rewriting but not for deleted products Very good to do mass imports of 301 rewritings. Is there any posibility to import deleted product rewrites? Or what is the problem with this? Thank you really much for this extension. it really saves time and it is for free. and a bad remark for an extension which is free is not nice! March 23, 2014
2 3 4 next>>
Q&A
(5 Questions : 6 Answers)

Product Q&A

Ask your questions. Share your answers.

 
 
« Back
 
 
Sort by
Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_27003816
Customer avatar
I installed the extension on a multisite with 3 websites sites. I upload the CSV-file via the admin. It uploads but there is no link to it for download with the text. "No CSV file for download"

I checked the Media folder in the server and the files are there residing in media/optimiseweb/redirects/websites/ -> the the corresponding site ID (1, 3, 4). Within these folder are the uploaded CSV-files.

I would appreciate if you could answer as soon as possible.

Regards
Patricio
by
Anonymous
-
1 year, 1 month ago
+1point
1out of 1found this question helpful.
Was this helpful?Yes1No0

Answers

Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_27003816
Customer avatar
Answer: 
Ok, We manage to find how it should be done. The scope need to be Website. There is an issue -- The download link in admin for the uploaded file does not appear, so you will be needing to download it via FTP: via media/optimiseweb/redirects/websites/ for re-edit.

It works just fine now.
by
Anonymous
-
1 year ago
+1point
1out of 1found this answer helpful.
Was this helpful?Yes1No0

Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_25802964
Customer avatar
Answer: 
This has now been fixed in the latest version. You can no upload redirect files at the website or store level. The download link will appear at each of these levels.
by
OptimiseWeb
-
8 months ago
0points
0out of 0found this answer helpful.
Was this helpful?Yes0No0
Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_353338
Customer avatar
We would like to use this module to redirect child products to their configurable parent product. However, I noticed product should be removed.

Deleting the products is not an option, since it will break the configurable product.

I asume forcing redirects from the htaccess is the only solution for now. Are there any plans in further development of the module to facilitate redirection of existing products too?

Thanks in advance,

Frans
by
FvanGils
-
6 months ago
+1point
1out of 1found this question helpful.
Was this helpful?Yes1No0

Answers

Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_25802964
Customer avatar
Answer: 
We are looking into writing an option for redirecting disabled products and categories. We are going through a busy spell, but we'll be creating a version in the next few months.
by
OptimiseWeb
-
6 months ago
+1point
1out of 1found this answer helpful.
Was this helpful?Yes1No0
Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_26106122
Customer avatar
I have old URLs with multiple optional sections, that I'd like to redirect automatically. Can I use multiple wildcards in a single rule?

E.g.:
Old urL: http://example.com/category/sku:123/subcategory

Can I match that with:
http://example.com/*/sku:123/* ?

Thanks --
by
tc4mpbell
-
6 months ago
+1point
1out of 1found this question helpful.
Was this helpful?Yes1No0

Answers

Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_25802964
Customer avatar
Answer: 
There isn't a provision for multiple wildcards at the moment. You can easily modify the
app / code / community / Optimiseweb / Redirects / Model / Redirector.php file to make it do something else.

Be sure to copy it to local.
by
OptimiseWeb
-
6 months ago
0points
0out of 0found this answer helpful.
Was this helpful?Yes0No0
Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_25870476
Customer avatar
We used no case [NC] in our old htaccess. Do you see any issues with changing line 155 of Redirector.php to:

if (strcasecmp($sourceUrl, $requestUrl) == 0) {

instead of

if ($sourceUrl == $requestUrl) {

?
by
ChrisRutherford
-
4 months, 1 week ago
0points
0out of 0found this question helpful.
Was this helpful?Yes0No0

Answers

Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_25802964
Customer avatar
Answer: 
You can surely do that! Please remember to copy the files into the local code pool to avoid updates of the module overwriting your changes.
by
OptimiseWeb
-
4 months ago
0points
0out of 0found this answer helpful.
Was this helpful?Yes0No0
Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_27497963
Customer avatar
Hi, should i remove al lines in section Catalogs -> URL Rewrite Management, before i use this? Thanks
by
liefzebraatje
-
3 months, 1 week ago
0points
0out of 0found this question helpful.
Was this helpful?Yes0No0

Answers

Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_25802964
Customer avatar
Answer: 
You could. The URL Rewrite Management interface is for Magento's internal use. It saves the SEO friendly URLs for all the product and category pages. Also, third party modules might use it. So, check what you are deleting, before you do so.
by
OptimiseWeb
-
2 months, 3 weeks ago
+1point
1out of 1found this answer helpful.
Was this helpful?Yes1No0
1 of 1
1 of 1
Get Help

Support for This Extension

The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Magento Platform Support

If you need support for a Magento platform, there are different options for support depending on which Magento platform you are using. Below are links for specific platforms.

In order to upload extension, you must be logged in to the Magento Community. Click here to login or register.

Close

Register

* Required Fields

Close window

Forgot Your Password?

Please enter your email below and we'll send you a new password.

* Required Fields

Close window

Login

To upload extension you must be logged in.

* Required Fields

Close window

You are using an outdated browser

We built Magento Connect using the latest techniques and technologies.
This makes Magento Connect faster and easier to use.
Unfortunately, your browser doesn't support those technologies.
Use the links below to download a new browser or upgrade your existing browser.