Results 1 to 4 of 4

.Htaccess

This is a discussion on .Htaccess within the General Discussion forums, part of the vBSEO SEO Plugin category; I added the following to the bottom of my .Htaccess, as advised in the instructions Code: RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] ...

  1. #1
    Junior Member
    Real Name
    051119
    Join Date
    Oct 2011
    Posts
    7
    Liked
    0 times

    .Htaccess

    I added the following to the bottom of my .Htaccess, as advised in the instructions

    Code:
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    However this stops my Coppermine gallery from working. Is there a way around this? Is the .Htaccess _really_ req'd?

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Hello,

    The htaccess is required to run vbseo.

    Did you install the gallery in the same folder as your forum? If not, each folder should have their own htaccess files and not conflict.

  3. #3
    Junior Member
    Real Name
    051119
    Join Date
    Oct 2011
    Posts
    7
    Liked
    0 times
    Hello,

    My forum is stored in the root directory (where I put the .htaccess) and the gallery in ../gallery/.

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    You can try placing an htaccess file in the gallery folder with contents:

    RewriteEngine Off

Similar Threads

  1. Replies: 8
    Last Post: 12-14-2010, 12:51 PM
  2. Replies: 2
    Last Post: 12-24-2009, 04:52 AM
  3. Moving .htaccess rules to htaccess.conf
    By petforums in forum General Discussion
    Replies: 2
    Last Post: 06-07-2009, 12:42 PM
  4. Replies: 5
    Last Post: 05-12-2009, 03:29 PM
  5. .htaccess in forum root w/ exisiting .htaccess?
    By OttoBomb in forum Troubleshooting
    Replies: 5
    Last Post: 07-03-2007, 03:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •