Forum Moderators: phranque

Message Too Old, No Replies

htaccess rewrites

         

chrissyboi

3:35 am on Aug 19, 2007 (gmt 0)

10+ Year Member



I have a wordpress blog on a site with the pemalinks enabled to show posts in date and post name format. The wordpress is on the main www directory, so the index page for the site for example, is the wordpress index page.

I installed a vbulletin forum on the same site in another folder, but when I try to login to the forum, it keeps redirecting straight to the homepage of the site.

Anyone any idea how I might resolve this?

venelin13

8:13 am on Aug 20, 2007 (gmt 0)

10+ Year Member



You need to edit the wordpress .htaccess file.

Lets say you've installed the forum at the "forum" subdirectory, http://www.example.com/forum

Well, add this file to the wordpress .htaccess file:

RewriteRule ^forum/(.*)$ forum/$1 [L]

Of course, the RewriteEngine should be turned on.

[edited by: encyclo at 5:33 pm (utc) on Aug. 20, 2007]
[edit reason] switched to example.com [/edit]