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?
[eluser]noslen1[/eluser]
Have you set a default controller in your /config/routes.php ?
[eluser]slapyo[/eluser]
I have. The site is running no problem. URLs are like http://www.somesite.com/controller/ ... Just looking to remove index.php off the tail if someone puts it on. |
Welcome Guest, Not a member yet? Register Sign In |