is it possible to do a rewrite rule in a htaccess that redirects from www.example.com/index.php, to www.example.com?
Thanks!
|
is it possible to do a rewrite rule in a htaccess that redirects from www.example.com/index.php, to www.example.com? Thanks!
| |||
|
feedback
|
|
I am assuming that index.php is not the DocumentRoot for www.example.com and therefore you are just redirecting to the DocumentRoot. If so, use the following:
| |||
|
feedback
|