SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: Do I need a .htaccess redirect?
Hybrid View
-
Sep 15, 2006, 07:46 #1
- Join Date
- Apr 2006
- Location
- London
- Posts
- 77
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Do I need a .htaccess redirect?
Hi
I am almost finished the redesign of a site from html using tables and embedded CSS to XHTML strict with external CSS. I have named all of the pages the same as the existing ones but the file extension has changed from .htm to .html.
Does this mean that I will still need to use a redirect to the new url or is there a way around this?
I read something on the W3C site about hiding file extensions but didn't really understand it.
Thanks
-
Sep 15, 2006, 08:25 #2
- Join Date
- Feb 2003
- Location
- Slave I
- Posts
- 23,424
- Mentioned
- 2 Post(s)
- Tagged
- 1 Thread(s)
You'll want to use a 301 redirect in .htaccess to make sure users and search engines are taken from the old pages to the new pages. Otherwise they'll get 404 errors if they try to pull up the old pages.
-
Sep 15, 2006, 08:28 #3
- Join Date
- Apr 2006
- Location
- London
- Posts
- 77
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
ok thanks
Bookmarks