htaccess, redirect from folder/index.php to folder/ ... how? |
[eluser]slapyo[/eluser]
I want to redirect to the root if someone accesses /controller/index.php ... if for whatever reason someone would put index.php on the end of the url. I just want it to go back to the root. http://www.somesite.com/controller/index.php -> http://www.somesite.com .htaccess: Code: RewriteEngine on I get the error "No input file specified." Ideas? |
Messages In This Thread |
htaccess, redirect from folder/index.php to folder/ ... how? - by El Forum - 11-19-2012, 04:59 PM
htaccess, redirect from folder/index.php to folder/ ... how? - by El Forum - 11-20-2012, 01:37 AM
htaccess, redirect from folder/index.php to folder/ ... how? - by El Forum - 11-20-2012, 06:18 AM
|