Office Hours
Day Hours (GMT)
Bank Holidays Closed
Monday 9:00 - 17:30
Tuesday 9:00 - 17:30
Wednesday 9:00 - 17:30
Thursday 9:00 - 17:30
Friday 9:00 - 17:30
Saturday Closed
Sunday Closed
Knowledgebase: General Questions
How do I redirect old URL's to new ones?
Posted by Al Brookbanks on 26 May 2015 09:12 AM

If you want to redirect an old path to a new one "rewrite rules" need to be created in your stores .htaccess file. 

Say for example we want to redirect old.html to new.html first please locate;

RewriteEngine On

After this add:

RewriteRule old.html new.html [R=301,L]

This will make a permanent redirect from old.html to new.html. It's important to set the redirect to have a 301 header to tell search engines the redirect is permanent so they update their listings more quickly. The L flag tells the server to stop processing any other rules. You can add as many of these rules as you wish with one to a line.