1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

    Jan 26, 2008
    Likes Received:
    Trophy Points:
    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):

    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