potential htaccess conflict discovered (1 post)

  1. thelaw
    Posted 4 years ago #

    I have a vbulletin forum in a forums directory. I have WordPress installed in the root directory. I've noticed that the following URL works even though it shouldn't because of the stock WP htaccess directive:


    The reason for this is because of the httaccess rewrite rule:
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]

    If I remove this line, the above URL doesn't work. The problem is that if you're using multisite, you need this as is in the htaccess for multisite to work. I'm not an expert with these directives and was wondering what could be done to the htaccess file to prevent this line from creating false URLs? There are two ways:

    (1) Manually insert every blog you have on your site in the htaccess file instead of making it universal.
    (2) Manually inserting every directory not to be included within this directive.

    I'm not sure what page is creating the links and why but this should not be a working link.

Topic Closed

This topic has been closed to new replies.

About this Topic