How to redirect
2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 22, 2012 (RSS)
By furcat - May 22, 2012 - edited: May 22, 2012
I have just finished updating a customer's website with CMSB. We have had this customer for at least 5 years, and all of their website pages currently have an extension of .html, and they are fairly well placed in the search engines.
So, now, all of their pages have an extension of .php. We will be publishing the new site in about 4 days. We don't want to drop out of the search engines, and also if their customers have bookmarked favorite pages, we don't want to mess that up either.
I believe the solution is to create a redirect page for each of the .html pages, and I have read about several methods from creating a javascript to using a refresh meta tag.
My questions is whether anyone out there has any experience with this and recommendations? I would certainly appreciate information on this subject.
Thanks!
So, now, all of their pages have an extension of .php. We will be publishing the new site in about 4 days. We don't want to drop out of the search engines, and also if their customers have bookmarked favorite pages, we don't want to mess that up either.
I believe the solution is to create a redirect page for each of the .html pages, and I have read about several methods from creating a javascript to using a refresh meta tag.
My questions is whether anyone out there has any experience with this and recommendations? I would certainly appreciate information on this subject.
Thanks!
Re: [furcat] How to redirect
By Damon - May 22, 2012
Hi,
You can redirect specific pages to other pages by adding a 301 redirect into your .htaccess file in the site root.
Here is a post I found online with some more details:
http://ndesign-studio.com/blog/301-htaccess-redirect
Basically to redirect the index.html file to index.php, you would add code like this:
Then add another line for every page to redirect. Works really well.
You can redirect specific pages to other pages by adding a 301 redirect into your .htaccess file in the site root.
Here is a post I found online with some more details:
http://ndesign-studio.com/blog/301-htaccess-redirect
Basically to redirect the index.html file to index.php, you would add code like this:
Redirect 301 /index.html http://example.com/index.php
Then add another line for every page to redirect. Works really well.
Cheers,
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/