SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2006
    Location
    London
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question 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

  2. #2
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,423
    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.

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2006
    Location
    London
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok thanks


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •