Redirect possible?

Discussion in 'Search Engine Optimization' started by wezza, Sep 19, 2008.

  1. #1
    Hi, I've just taken over an established website and am redeveloping a completely new store for it. The URLs for the old store do not match my new store in any way so the old urls listed in the search engines now point to an error page.

    The old website was in the store directory, is there a way to redirect for example: http://www.domain.com/store/
    AND all of the other urls with something after the /store/ , for example:

    http://www.domain.com/store/page2.htm
    http://www.domain.com/store/page5.htm
    http://www.domain.com/store/page34.htm

    to the root: http://www.domain.com


    Thanks in advance.
     
    wezza, Sep 19, 2008 IP
  2. Kneoteric_eSolutions

    Kneoteric_eSolutions Banned

    Messages:
    382
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use a 301 redirect. You will have to make the necessary amendments in the htaccess file of your website.
     
    Kneoteric_eSolutions, Sep 19, 2008 IP
  3. wezza

    wezza Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks, will just one line do it? Will I need to use some wort of 'wildcard' (*) to signify anything else that goes after the /store/ ?
     
    wezza, Sep 19, 2008 IP
  4. seconnection

    seconnection Peon

    Messages:
    389
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    301 should work
     
    seconnection, Sep 19, 2008 IP
  5. T_Media

    T_Media Peon

    Messages:
    691
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm no expert but try adding this line to the end of your htaccess file

    redirect 301 /store http://domain.com/
     
    T_Media, Sep 19, 2008 IP