blueman378 Posted November 8, 2009 Share Posted November 8, 2009 Hey guys, Well im kinda tired so i cant think atm, can anyone enlighten me as to how i would rewrite all requests for: example.com/cifw/something so they are actually loading example.com/cifw/index.php/something cheers guys. Matt « edit: Whoops, guess im too tired to post in the right board. Sorry! » Quote Link to comment https://forums.phpfreaks.com/topic/180752-simple-htaccess-mod_rewrite/ Share on other sites More sharing options...
wildteen88 Posted November 8, 2009 Share Posted November 8, 2009 If cifw is a folder place a .htaccess file within it with this code rewriteEngine On rewriteRule (.*) index.php/$1 Quote Link to comment https://forums.phpfreaks.com/topic/180752-simple-htaccess-mod_rewrite/#findComment-953658 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.