todhost Posted May 22, 2015 Share Posted May 22, 2015 Please is there a way i can remove the index.php from my website url using the .htaccess or some other means? 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted May 23, 2015 Share Posted May 23, 2015 You can re-direct to / from index.php using htaccess, I use the following: RewriteRule ^(.*)index\.(php|html?)$ /$1 [R=301,NC,L] 0 Quote Link to comment Share on other sites More sharing options...
AladdinJ Posted April 2, 2021 Share Posted April 2, 2021 On 5/23/2015 at 8:30 PM, zomex said: You can re-direct to / from index.php using htaccess, I use the following: RewriteRule ^(.*)index\.(php|html?)$ /$1 [R=301,NC,L] this no longer work it cause problem with site no longer open pages like knowledgebase pages and etc .. do you know better way to do this? 0 Quote Link to comment 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.