Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Search Engine Optimization (SEO) (http://www.go4expert.com/forums/seo-forum/)
-   -   Complicated site restructuring and 301's to accompany it - need help! (http://www.go4expert.com/forums/complicated-site-restructuring-301s-t8480/)

Osirion 26Jan2008 15:09

Complicated site restructuring and 301's to accompany it - need help!
 
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!


All times are GMT +5.5. The time now is 12:17.