Redirect root to index.php

New to mod_rewrite? This is a good place to start.

Redirect root to index.php

Postby anarchoi » Wed Apr 27, 2011 11:13 pm

I simply want to redirect the root of my domain name to index.php every time someone access my domain... I tryed various htaccess codes that i found on google, but none worked :(

http://www.mydomain.com
would redirect to
http://www.mydomain.com/index.php

and "http://www.mydomain.com/index.php" would be displayed in the URL bar of the browser

how can i do it ?

thanks
anarchoi
 
Posts: 23
Joined: Mon Apr 23, 2007 9:42 pm

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 8 guests

cron