Url Rewriting for a site with "_" in URL

Discussion in 'Search Engine Optimization' started by TheGrinch, Jan 7, 2011.

  1. #1
    Hi
    If a site's urls all contain "_" and you want to implement a url rewrite so that all the Urls use "-" what is the best course of action? 301 redirects on all the original files or should I use the Canonical Link Tag?

    Thanks for your help
     
    TheGrinch, Jan 7, 2011 IP
  2. webcosmo

    webcosmo Notable Member

    Messages:
    5,840
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #2
    301 using htaccess rules would be perfect for this IMO.
     
    webcosmo, Jan 7, 2011 IP
  3. jondrover66

    jondrover66 Guest

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i think you just need to do steps 2 n 3
     
    jondrover66, Jan 8, 2011 IP
  4. Canonical

    Canonical Well-Known Member

    Messages:
    2,223
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    110
    #4
    Canonical Link elements should ONLY be used if you can't 301 redirect. 301 redirects are MUCH better than using the canonical link element. Not all search engines support the canonical link element. Also, even if all engines did support it, the canonical link element prepetuates the use of the non-canonical URLs. People STILL see the old, non-canonical URL in their browser. So they'll continue to copy the undesireable URL when creating links to your site.

    301 redirects have been supported for a LOOOOOOOONG time. They are well understood by all search engines and have been the preferred method of solving these types of issues. And the use of 301 redirects will stop the users from seeing the undesireable "_" URLs in their browsers. So going forward all links will get created using the new URLs with the hyphens in them.

    If at all possible, use 301 redirects.
     
    Canonical, Jan 8, 2011 IP