OptimiseWeb

Optimise Web's Mass 301 Redirects

  • Popularity Score 908 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.6 5 29 29
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
Excellent Working as described, I used it to redirect from and old domain to a new one. Just write in old domain in its .htaccess Redirect 301 / http://www.newdomain.com/ and install this extension in newdomain.com Now specify in .csv every single redirect from olddomain.com to newdomain.com. Support has been very fast Thanks Roberto March 18, 2014
Best 301 redirects on magento I would highly recommend this module for any redirects as this is the module for what you need. The support is so fast as well and was very impressed. Thanks March 13, 2014
Well done guys Great extension, works as described. Make sure to read the documentation to know what works and what does not (yet). Great job, keep up the good work guys. February 26, 2014
The extension works, but it's a bit of a pain to get it working So, it has taken several attempts to get this working. The documentation is not all that great. Once I got the data in the correct format using Excel, I had to use notepad to remove the quotes from the CSV file. After several times of reformatting the CSV, I finally got this working. Needless to say this is much better than putting nearly 1500 lines in the .htaccess file. This is definitely a must have. Just be sure you remove any quotes. February 21, 2014
Zealous Developer Hello, I have installed this extension and cleared all caches and login in admin but it will not redirect the url with new url. I have used Magento 1.7.0.2 Version. Can you please help us? We have tried all things but it didn't work. Thanks in Advance, February 6, 2014
Great Module. A must have for platform migration to Magento Excellent module, just one annoyance.. If your system.log is getting flooded with these messages: -------------------------------------------------------- 2014-01-28T21:53:45+00:00 ERR (3): Notice: Undefined index: query in /chroot/home/ ..... /html/includes/src/Optimiseweb_Redirects_Model_Redirector.php on line 105 -------------------------------------------------------- Then go to: app/code/community/Optimiseweb/Redirects/Model/Redirector.php And replace this: -------------------------------------------------------- parse_str($query['query'], $queryParts); if (is_array($queryParts)) { -------------------------------------------------------- With this: -------------------------------------------------------- if (array_key_exists('query', $query)) parse_str($query['query'], $queryParts); if (isset($queryParts) && is_array($queryParts)) { -------------------------------------------------------- January 28, 2014
Redirects Made Easy This module does everything described. It makes managing your redirects so much easier without interfering with other redirects you may have in place. I think this should be one of the first modules someone installs when they are switching platforms. Great addition to the community. January 13, 2014
Useful and great support This module is great. We had thousands of URLs we needed to rewrite due to a change of platform and this really saved the day. The ability to do query based redirects was particularly great, as it overcame the need to do every derivation that could occur. The developer support was also excellent when we experienced some issues (which were related to our new website URL set up rather than the module). Highly recommend. January 12, 2014
A great Module and a great developer This module is really nice. the only missing thing is a documentation, so we don't have to bother the developer with dumb questions. Anyway, just some tips I've been thinking : There are 3 modes in this module : 1 : Legacy : URL_A;URL_B nothing more. Note : there's a SEMI-COLON between, not a COMA 2 : Redirect V1.0 : URL_A,URL_B,301 In this mode, you can define the separator (coma or else) The 3rd field is designed to define the redirection code you want. I guess 301 or 302 works. 3 : Smarter redirect : Better than long explanation, a good example : http://www.domain.com/cat.php?cat_id=35 http://www.domain.com/cat.php?cat_id=35&page=2 http://www.domain.com/cat.php?page=2&cat_id=35 http://www.domain.com/cat.php?page=2&cat_id=35&price=100-250 etc.... all point to the same http://www.domain.com/proper-category-url.html So, instead of doing four lines, you can do just one line http://www.domain.com/cat.php,cat_id,35,http://www.domain.com/proper-category-url.html,301 This will match anything that has cat_id=35 hope this will help you. Thanks for the kind support anyway November 14, 2013
2 3 next>>
Q&A
(3 Questions : 4 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
-
8 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_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
-
8 months 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
-
3 months, 3 weeks 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
-
1 month, 3 weeks 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
-
1 month, 1 week 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
-
1 month, 2 weeks 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
-
1 month, 1 week ago
0points
0out of 0found this answer helpful.
Was this helpful?Yes0No0
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.