View Full Version : changing file extensions
skarraman
24-07-2003, 05:33/05:33AM
Have a potential client with a number of sites using the asp file extension and he is worried about his search engine rankings if he changes servers and has to rename his files. None of his content is currently dynamic.
What would be the best option in your opinion?
Is it possible to do a rewrite using htaccess?
I am open to suggestions!
Dave
captainccs
24-07-2003, 20:07/08:07PM
A permanant 301 redirect is probably the best way to go. In htaccess:
Redirect permanent /index.asp http://domain.com/index.php
chrishirst
25-07-2003, 03:07/03:07AM
This thread has how to achieve this on Windows servers (http://www.ihelpyouservices.com/forums/showthread.php?s=&threadid=10358)
Chris.
JuniorHarris
25-07-2003, 14:24/02:24PM
There are a number of ways to achieve what you want with different levels of success. A 301 redirect at the domain level could work, but using it at the page level would send users to the proper page without any interruption. In addition any spiders would also be inclined to update and follow the link.
There can be a number of methods for implementing a 301 at each page level, with the most basic being to simply edit each existing page. Another method may be to remove the pages, use a 404 intercept to issue a 301 and parse the correct new url location. You'll have to decide what's best for your implementation...but hopefully the tread link above can provide some ideas.
vBulletin® v3.8.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.