Announcement

Collapse
No announcement yet.

.htaccess conflict with Wordpress in main folder

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Justin Wheeler
    started a topic .htaccess conflict with Wordpress in main folder

    .htaccess conflict with Wordpress in main folder

    Just bought and installed VBulletin Connect 5 Beta 16 and have been having some issues related to .htaccess and Wordpress.

    Hopefully someone might be able to help me.

    I have wordpress installed on my main domain and a forum installed in a subfolder.

    However the Wordpress .htaccess rules conflict with my .htaccess rules for vbulletin, as I am unable to access admincp unless I remove Wordpress' htaccess.

    Any suggestions would be much appreciated.

    HT access files are below:

    Wordpress:

    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]
    
    
    
    
    #----- START DAP -----
    RewriteCond %{REQUEST_FILENAME} -f 
    RewriteCond %{REQUEST_FILENAME} !-d 
    RewriteCond %{REQUEST_FILENAME} (.*)/wp-content/uploads/(.*) 
    RewriteCond %{REQUEST_FILENAME} !(.*)(\.php|\.css|\.js|\.jpg|\.gif|\.png|\.txt|\.ico|\.jpeg)$ 
    RewriteRule (.*) /dap/client/website/dapclient.php?dapref=%{REQUEST_URI}&plug=wp&%{QUERY_STRING}  [L] 
    #----- END DAP -----
    
    
    </IfModule>
    
    
    # END WordPress
    VBulletin:

    Code:
    <IfModule mod_rewrite.c>RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]
    
    
    #needed because admincp is an actual directory.
    RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]
    </IfModule>

Related Topics

Collapse

Working...
X