ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 5797

How to remove index.php from URL

by Shoe - 12-07-2016 - 12:20 PM
#1
This is a very simple way to remove the index.php from your URL. Please note that this only works if you are running an Apache web server and mod_rewrite is enabled!
Just add the following lines to your root .htaccess file (directly after RewriteEngine On):
Code:
<pre class="_prettyXprint">
RewriteCond %{IS_SUBREQ} false
RewriteRule ^index.php$ http://www.example.org [R=301,L]
</pre>
Of course you have to replace http://www.example.org with your own MyBB installation.
[Image: RQyFiiZ.png]
Reply
#2
I want it :D
Thanks.... Downloading....
Reply
#3
Nice tutorial! This will definitely help some people out.
Reply
#4
thanks for share interesting method
Reply
#5
Didn't work for me. Gave me a 500 internal server error.
Reply

Users browsing: 5 Guest(s)