MyBB Community Forums

Full Version: 404 Error On Link To My Forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using the version currently available at the download link at mybb.com/download, 1.8.26. This is on a shared host at Hurricane Electric running Apache.

I just installed MyBB and everything concluded error-free. When I go to my home page at http://amesgardens.pcvsoftware.net/index.php and then click on the My Forum link I get a 404 error because the link is pointing to http://amesgardens.pcvsoftware.net/forum-2.html but is not being rewritten to the correct SEO link as specified in the .htaccess file, http://amesgardens.pcvsoftware.net/forum....php?fid=2. If I use this forumdisplay.php link directly, my forum is displayed with no error. The .htaccess file is located in the amesgardens.pcvsoftware.net directory, and I checked the server's PHP configuration and mod_rewrite is loaded.
Despite having the .htaccess file in the MyBB root directory and "Enable search engine friendly URLs?" set to "Automatic Detection" or "Enabled" I continued to get the error. When I set it to "Disabled" I now have no problem. This is on a fairly common Apache configuration, so I'm still curious why it did not work, but I don't care about SEO-friendly URLs so setting it to "Disabled" is OK with me.
It looks like the directives in the .htaccess file don't work. Might be caused by wrong directives or directives being disabled or .htaccess being disabled.
To test my .htaccess file, I added the line:

ErrorDocument 404 /error404.html

to the file and uploaded it to the server. When I type in an invalid page

http://amesgardens.pcvsoftware.net/xxx

I get my error404.html page. The .htaccess file is being read and executed. The rest of the .htaccess file is as provided by the myBB download and installation.