MyBB Community Forums

Full Version: SEF URLS Wiki page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry if this isn't the right place to put Toungue

http://wiki.mybboard.net/index.php/SEF_URLS
You should add the following note:
Quote:If, after enabling SEF URL's from the Admin CP and after renaming htaccess.txt to .htaccess, you get the a 404 error when visting pages with SEF URL's, try adding:
RewriteBase /
In .htaccess after:
RewriteEngine on

It took me a while to fix this problem, but google helped a lot Toungue
Better link to the apache htaccess / rewritebase page too, since the correct value for rewritebase depends on where you have your MyBB installed.

If your forum is domain.tld/index.php then RewriteBase / is correct, for domain.tld/MyBB/index.php it should be RewriteBase /MyBB
Actually if you place .htaccess in your MyBB root, just use /
It works perfectly me for me at least Toungue