Witam, mam problem z ustawieniem przyjaznych url.

Na głównej stronie mam zainstalowanego Wordpress'a, a w katalogu /forum skrypt MyBB. Gdy włączę url też na forum i link do tematu wygląda np. mojastrona.pl/forum/Temat-ogloszenia przenosi na portal zamiast do odpowiedniego tematu. Pliki .htaccess tak wyglądają:
W głównym katalogu:
  1. # BEGIN WordPress
  2. <IfModule mod_rewrite.c>
  3. RewriteEngine On
  4. RewriteBase /
  5. RewriteRule ^index\.php$ - [L]
  6. RewriteRule ^(forum) - [L]
  7. RewriteCond %{REQUEST_FILENAME} !-f
  8. RewriteCond %{REQUEST_FILENAME} !-d
  9. RewriteRule . /index.php [L]
  10. </IfModule>
  11.  
  12. # END WordPress


W katalogu /forum
  1. RewriteEngine on
  2.  
  3. # Some hosts require RewriteBase to make RewriteRules work.
  4. RewriteBase /forum/
  5.  
  6. # Google SEO workaround for search.php highlights:
  7. # Make this rule the first rewrite rule in your .htaccess!
  8. RewriteRule ^([^&]*)&(.*)$ <a href="http://mypatrioci.pl/forum/$1?$2" target="_blank">http://mypatrioci.pl/forum/$1?$2</a> [L,QSA,R=301]
  9.  
  10. # Google SEO 404:
  11. ErrorDocument 404 /forum/misc.php?google_seo_error=404
  12.  
  13. # Google SEO Sitemap:
  14. RewriteRule ^sitemap\-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]
  15.  
  16. # Google SEO URL Forums:
  17. RewriteRule ^Forum\-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]
  18.  
  19. # Google SEO URL Threads:
  20. RewriteRule ^Temat\-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]
  21.  
  22. # Google SEO URL Announcements:
  23. RewriteRule ^ogloszenia\-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]
  24.  
  25. # Google SEO URL Users:
  26. RewriteRule ^uzytkownik\-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]
  27.  
  28. # Google SEO URL Calendars:
  29. RewriteRule ^kalendarz\-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]
  30.  
  31. # Google SEO URL Events:
  32. RewriteRule ^wydarzenia\-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]