MyBB Community Forums

Full Version: All forum links return to WordPress home page with 404
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello. I have successfully installed the latest version of Mybb on my wordpress site at http://huntandfishohio.com/forum. Everything seems to be working except links to all forums return the user to my home page http://huntandfishohio.com with a Page Not Found Error. All other links on Mybb, such as help, register, users, etc work OK. I appreciate any help. Thanks

Are you using the default mybb seo ?

Try installing google seo for mybb , it works on mine ..
Make sure the htaccess.txt file in the ./forum/ folder is renamed to .htaccess
(2011-03-26, 08:56 PM)MattRogowski Wrote: [ -> ]Make sure the htaccess.txt file in the ./forum/ folder is renamed to .htaccess

Thank you MattRogowski. htaccess.txt was the problem. Resolved
We have site http://ssc2pg.com (in Wordpress) and installed mybb using zingiri. The URL for the forum is http://ssc2pg.com/career-education-forum/

The problem is that we are not able to get seo friendly URLs for the forums and threads. As suggested in various forums we used google seo and also changed the .htaccess file in the location wp-content/plugins/zingiri-forum/mybb/. The changes made are -

# Some hosts need a RewriteBase specification.
# RewriteBase /MyBB/
RewriteBase /career-education-forum/

# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
# RewriteRule ^([^&]*)&(.*)$ http://yoursite/MyBB/$1?$2 [L,QSA,R=301]
RewriteRule ^([^&]*)&(.*)$ http://ssc2pg.com/career-education-forum/$1?$2 [L,QSA,R=301]

# Google SEO 404:
# ErrorDocument 404 /MyBB/misc.php?google_seo_error=404
ErrorDocument 404 /career-education-forum/misc.php?google_seo_error=404

The installation directory of MyBB is
/wp-content/plugins/zingiri-forum/mybb/

However if I use the following URL preceding the forum etc. the thread shows the seo friendly url but our theme is lost and returns to MyBB default banner etc.

http://ssc2pg.com/wp-content/plugins/zin...orum/mybb/

Can anybody please suggest a solution. Putting this same problem on Zingiri discussion since about 2 months and on may other forums has not yield any results. Does MyBB not provide SEO friendly URLs? It that is so then we may be suggested to migrate to a different forum?

Thanks
MyBB provides SEO friendly URL's in the core. You need to enable them in your Admin CP.

Admin CP > Configuration > Server Optimization (or similar) > Friendly URL's > Automatic Detection. Ensure you have an .htaccess in your forum root with the right RewriteRules in it, you can get one from a fresh MyBB Download. Smile
(2013-01-31, 07:14 AM)Seabody Wrote: [ -> ]MyBB provides SEO friendly URL's in the core. You need to enable them in your Admin CP.

Admin CP > Configuration > Server Optimization (or similar) > Friendly URL's > Automatic Detection. Ensure you have an .htaccess in your forum root with the right RewriteRules in it, you can get one from a fresh MyBB Download. Smile

Thanks for the response. Actually we have done this in our site but as soon as we open a forum we get 404 error. We have renamed htaccess.txt to .htaccess.

I think there is the problem. Can you suggest what entries have to be added or omitted from this file. Our URL for forum is http://ssc2pg.com/career-education-forum/

Mybb installation path is /wp-content/plugins/zingiri-forum/mybb/

I think with this much information you can suggest the changes to be made. Thank you so much for the help.
I have the same problem here: http://www.terraplenagem.net/forum/

Topics normally open, however, forums give 404 error.
Please start a new thread rather than bumping one from January 2013.