Setting up a Search Engine Friendly Redirect

Discussion in 'Search Engine Optimization' started by AKnogood, Aug 15, 2009.

  1. #1
    I'd like to setup a redirect and wondering what would be the better way to do it for search engine. I would like to redirect my whole site which would use the same paths and directories. Please note that my site use dynamic URLs.

    Should I simply put that code at the bottom of my .htaccess :

    redirect 301 / http://www.newdomain.com/

    and then specify it in the Google Webmaster Tool section for 301 redirects?

    Would that be enough?

    Thanks!
    Vincent
     
    AKnogood, Aug 15, 2009 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, and redirect your pages on the old domain to the new one as well. It'll mean a long redirect file, but it can be done.

    I'm not an .htaccess expert (though I do know one), so if you're looking for a regular expression that'll do that and save you the trouble of having to 301 everything manually, ask me and I'll forward your question on to him.
     
    Dan Schulz, Aug 15, 2009 IP