Mobile Phone deals - Free Advertising - Mortgages - Personal Loan - Property in Spain

PDA

View Full Version : Trying to redirect subdomain index.php


ollyno1uk
Nov 20th 2007, 2:14 pm
Hi I am trying to redirect and site that has both http://site.mainsitecom/index.php and http://site.mainsite.com I want to redirect the index to the root.

I tried this


RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://forums.site.com/ [R=301,L]

Am I doing something wrong?

Thanks