MyBB Community Forums

Full Version: Friendly URI + Wordpress + MyBB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

We have just installed MyBB as our forum software along side our website. We are still beta testing it. Our website uses Wordpress for CMS and we use Friendly URIs in wordpress.

Now our site runs at

http://abc.example.com

and our my mybb installation and forum is at
http://abc.example.com/forum

we have a .htaccess file in our sites main folder for wordpress to display SEO URIs then we have another .htaccess file in MyBB folder /forum.

Now when we make a post or do something else on the forum that results into a redirect we are taken back to our main website which is a wordpress blog.

I am sure someone must have had this problem before us. Please help us to find a solution for that. Thank you.
Can you post the rewrite rules you're using for wordpress in the main folder? They must be rewritten or conditioned so that they don't match anything that starts with forum/, so the forum will be left alone (and if you want to use MyBB SEF or Google SEO, forum/.htaccess can specify its own rules).
(2009-08-11, 02:03 PM)frostschutz Wrote: [ -> ]Can you post the rewrite rules you're using for wordpress in the main folder? They must be rewritten or conditioned so that they don't match anything that starts with forum/, so the forum will be left alone (and if you want to use MyBB SEF or Google SEO, forum/.htaccess can specify its own rules).

Below is the text inside my .htaccess file in the main folder that is http://abc.example.com
Hm, I think I may have misunderstood your first posting. Your problem is not that you can't access the /forum/ folder at all (because it's blocked by some kind of friendly URI .htaccess settings), but when posting, it redirects you to the main site? Everything else works?

Are you positive this issue is related to wordpress friendly uri at all? (Easiest way to find out is to rename the root .htaccess, test MyBB, and then rename it back - but it will break your wordpress urls while you test).

In the forum/ folder, are you using the MyBB default .htaccess (in the MyBB package as htaccess.txt) or something custom? Can you post that too? If there's a .htaccess that has "RewriteEngine on" in it, but not "RewriteOptions inherit", the forum folder should be independent of the rules in the root .htaccess.
I am sorry I didn't read the part where it said that I needed to rename htacess.txt to .htaccess. Instead I uploaded an empty file .htacess to the mybb installation folder. I have renamed the file and it seems to work perfectly now. Thank you Frostschutz I am sorry for being such a noob.
No need to apologize, I misread your first posting as well. Sorry for the confusion.

Anyway, glad that the problem is sorted. Smile