View Single Post
Old 10-30-2003, 07:20 AM   #14 (permalink)
piramida
Inactive
 
Join Date: 10-17-03
Posts: 51
iTrader: 0 / 0%
Latest Blog:
None

piramida is liked by many
No, to rewrite from / to index.php you change last line to
[code:1:f3efa68fe3]
RewriteRule ^/$ http://www.yourdomain.com/index.php [R=permanent]
[/code:1:f3efa68fe3]

the other two lines (rewritecond+rewriterule) are to make domain canonical (i.e., redirect domain.com/anything -> www.domain.com/anything).

and yes, you would put that in .htaccess that is in your domain's documentroot.

np.
piramida is offline   Reply With Quote