Forum Moderators: phranque
This is working fine, but i wanted to know, if it is all right with bots,
::
rewritecond %{http_host} ^example.com [nc]
rewriterule ^(.*)$ http://www.example.com/$1 [r=301,nc]rewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/
rewriteRule ^index\.html$ http://www.example.com/ [R=301,L]
________________________________
Ok, now secondly, i request someone to give me a code to:
rewrite http://www.example.com/forums/index.php to http://www.example.com/forums/
which i could place in the .htaccess in example.com/forums/
_________________________________
Lastly, i have a problem, which i could not solve anyhow, it is:
at the beginning, i had a free subdomain : example.a-host.info ,
then i got a domain example.com , and parked it thriugh the cpanel,
it was fine till here but the problem is the whenever i open anything like , example.com/forums (withour traling / ) example.a-host.info/forums/ gets opened , this is a serious problem in duplicate content, it follows that every resouce in example.com can be accessed through example-a-host.info ,
What should i do so that example.a-host.info/* goes to example.com/*?
[edited by: jdMorgan at 3:02 pm (utc) on Aug. 13, 2006]
[edit reason]
[1][edit reason] example.com [/edit] [/edit][/1]