Tutorial - Static Pages - about.php page showing 404 error |
[eluser]osxxso[/eluser]
Followed the instruction... user_guide/tutorial/static_pages.html running xampp ( http://site.local) When I got to http://site.local ( i see header.php, home.php, and footer.php ) When I go to http://site.local/about ( i get Error 404 ) When I go to http://site.local/index.php/about ( I see header.php, about.php and footer.php ) What do I need to change to see about at http://site.local/about ? Bye the way, my application and system directories were renamed ( just so I know how to do this ) and placed above root ( additional security ). index.php Code: $system_path = '../sysdir'; routes.php Code: $route['default_controller'] = 'pages/view'; pages.php Code: <?php Thanks in advance!
[eluser]smdbzdmr[/eluser]
I ask for same question maybe it helps you. http://ellislab.com/forums/viewthread/214805/ Change index_page value in application/config/config.php Code: $config['index_page'] = ''; My htaccess Code: <IfModule mod_rewrite.c> Edit : this is a tutorial x) i just think you have an error, sorry ![]()
[eluser]osxxso[/eluser]
Solved: Thanks! smdbzdmr for the code and pointing me in the right direction. Followed these instructions. Added this .htacces file to my public_html directory Code: <IfModule mod_rewrite.c> Edited appdir/config/config.php CHANGED Code: $config['index_page'] = 'index.php'; TO Code: $config['index_page'] = ''; |
Welcome Guest, Not a member yet? Register Sign In |