Complicated site restructuring and 301's to accompany it - need help!

Discussion in 'Search Engine Optimization (SEO)' started by Osirion, Jan 26, 2008.

  1. Osirion

    Osirion New Member

    Joined:
    Jan 26, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hey guys,
    I just finished re-designing my whole site. I used to have subdomains for subsections of my site and I want to do away with that and go to directories.

    I used to have:
    1) subdomain.whatever.com
    2) subdomain.whatever.com/index.php?section=somepage

    Now I want to have it redirected
    1) www.whatever.com/some_new_folder_name
    2) www.whatever.com/some_new_folder_name/page_name.htm


    This is what I have - Im really stuck when it comes to (2):
    Code:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^hosting.osirion.co.za [NC]
    RewriteRule ^(.*)$ http://www.osirion.co.za/web_hosting/ [L,R=301]

    Please help! You can also suggest how to fix the above if its un-optimal/wrong :P THANKS!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice