Get rid of index.php from url |
[eluser]barisv[/eluser]
Hi, I read lots of document and successed to remove index.php from url on local computer. But when I sent the folders to the server, it doesnt working properly. It always redirect to index.php. What can be the problem ? Code: [b]The Controller config.php Code: $config['base_url'] = 'http://www.mywebaddress.com/'; .htaccess Code: RewriteEngine On routes.php Code: $route['default_controller'] = "site"; When I type http://mywebadress.com/site It opens index.php page When I type http://mywebadress.com/site/blabla It also opens index.php page Not the function that should be echo out "blabla blabla" Thanks in advance.
[eluser]barisv[/eluser]
This htaccess works well on my server. Problem was solved. Code: DirectoryIndex index.php |
Welcome Guest, Not a member yet? Register Sign In |