Results 1 to 8 of 8

Style Switch Error

This is a discussion on Style Switch Error within the Bug Reporting forums, part of the vBSEO SEO Plugin category; I tried to make style changes in threads and posts to work and just can't figure the problem out. Here ...

  1. #1
    AWS
    AWS is offline
    Member AWS's Avatar
    Real Name
    Bob
    Join Date
    Feb 2006
    Location
    Pluto
    Posts
    68
    Liked
    0 times

    Style Switch Error

    I tried to make style changes in threads and posts to work and just can't figure the problem out.

    Here are my rewrite rules. Server is Windows 2003/IIS with isapi rewrite v3.
    Code:
    # Helicon ISAPI_Rewrite configuration file
    # Version 3.0.0.31
    
    RewriteEngine On
    RepeatLimit 200
    
    RewriteCond %{HTTP:Host} ^www\.justbs\.us$
    RewriteRule (.*) http\://justbs\.us/$1 [NC,R=301]
    
    #vbSEO
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    #RewriteRule ^(urllist|sitemap).*\.(?:xml|txt)(?:\.gz)?$ /vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1  [NC,L]
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
    Style changes work from index page and from within admincp. However if you view a thread or post and try to change styles you get a 404.

    Link that shows in address bar after trying to change style when inside a forum.

    Just BS - The Page Can Not Be Found

    This happens on both sites that I have VBSeo installed on.
    Changing style in index works as it should.

    What am I missing?

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Please try to change this line:
    Code:
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
    to:
    Code:
    RewriteRule ^(.*)$ vbseo.php?vbseourl=$1 [L,QSA]

  3. #3
    AWS
    AWS is offline
    Member AWS's Avatar
    Real Name
    Bob
    Join Date
    Feb 2006
    Location
    Pluto
    Posts
    68
    Liked
    0 times
    Changed it and it still doesn't work.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Mm.. please try this:
    Code:
    RewriteRule ^(.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

  5. #5
    AWS
    AWS is offline
    Member AWS's Avatar
    Real Name
    Bob
    Join Date
    Feb 2006
    Location
    Pluto
    Posts
    68
    Liked
    0 times
    That didn't do it either.

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Can you provide us with FTP access via support ticket for troubleshooting?

  7. #7
    AWS
    AWS is offline
    Member AWS's Avatar
    Real Name
    Bob
    Join Date
    Feb 2006
    Location
    Pluto
    Posts
    68
    Liked
    0 times
    Can I supply you with a login for remote desktop?
    I'll give you access to my limited user account. You'll have all permissions you need in the site dir.

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Yes, please. Access to modify rewrite rules might be helpful as well, if possible.

Similar Threads

  1. Changing style gives an error
    By Nikke23 in forum Troubleshooting
    Replies: 13
    Last Post: 06-25-2008, 07:13 PM
  2. little div error in style?
    By Luciano in forum Template Modifications
    Replies: 0
    Last Post: 12-05-2007, 03:31 AM
  3. Will vBSEO help when I switch to vB from UBB Threads
    By len backus in forum General Discussion
    Replies: 3
    Last Post: 06-10-2007, 02:30 AM
  4. switch off links on usernames in forumhome
    By Pat in forum Template Modifications
    Replies: 2
    Last Post: 03-01-2007, 04:06 PM
  5. Custom error pages in vb-style
    By ignicoccus in forum Custom Rewrite Rules
    Replies: 5
    Last Post: 02-07-2007, 12:17 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
  •