The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
.htaccess conflict with Wordpress
Hello,
I installed wordpress and vbullettin forum. wordpress on /. vbullettin on /forum If I try to visit http://www.domain.com/forum all work, but if I try to visit http://www.domain.com/forum/topic I've a 404 error. his is my .htaccess file: Code: Code:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress Regards |
#2
|
|||
|
|||
I got this error if I select
Code:
Mod Rewrite Friendly URLs Is there an .htaccess file under vbulletin folders? |
#3
|
||||
|
||||
If you are using Mod Rewrite Friendly URLs then you need to upload the .htaccess from the do_not_upload/rewrite directory.
|
#4
|
|||
|
|||
Ahh which one?
This one? apache2/forum/.htaccess? Im lost about 20 hours to resolve this issue by modifing wordpress .htaccess without success.. |
#5
|
||||
|
||||
The one in /apache2 . You would only use the others if you hav stub directories. You may need to also add a RewriteBase to your .htaccess to the wordpress one doesn't cause issues.
|
#6
|
|||
|
|||
Ok, I copy the .htaccess from do_not_upload/rewrite/apache2/forum/.htaccess to the /forum/ directory on the server.
I also edited the main .htaccess of wordpress on ./ like this: Code:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_URI} !^/(forum|forum/.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress --------------- Added [DATE]1372703151[/DATE] at [TIME]1372703151[/TIME] --------------- Ok, found solution: Code:
# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your forum component directory. RewriteBase /forum/ |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|