Results 1 to 5 of 5

rewrite issues

This is a discussion on rewrite issues within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Yesterday got VBSEO installed on Consumer Action Group - fighting unfair bank charges At some point - not necessarily immediately, ...

  1. #1
    Senior Member
    Real Name
    FAA Zooman
    Join Date
    Dec 2005
    Location
    Cumbria, UK
    Posts
    208
    Liked
    0 times

    rewrite issues

    Yesterday got VBSEO installed on Consumer Action Group - fighting unfair bank charges

    At some point - not necessarily immediately, all the sub-forum links were not available. Only the top level forum page worked. PMs still worked. Links on the nav bar still worked so for instance you could see that there had been some new posts but they all resulted in 404s (page not found).

    I have the impression that one or to people did manage to enter a sub forum and make new posts but only one or two and most people reported access probelms.

    In other words all links from the top level forum page went to 404 (page not found).

    When VBSEO was switched off, it all started working again perfectly and immdiately.
    Last edited by Ashley; 06-18-2006 at 05:10 AM.

  2. #2
    Senior Member
    Real Name
    FAA Zooman
    Join Date
    Dec 2005
    Location
    Cumbria, UK
    Posts
    208
    Liked
    0 times
    I had added www redirect late last night (and after everything was working), I know that the w3 redirect is good as I have used it countless times before.

    Mine
    Code:
     
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www.consumeractiongroup.co.uk 
    RewriteRule (.*) http://www.consumeractiongroup.co.uk/$1 [R=301,L]
     
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums)
    #RewriteBase /
    #php_flag magic_quotes_gpc on
    RewriteRule ^((urllist|sitemap).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.*)$ $1 [L]
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_FILENAME} !chat
    RewriteRule ^(.*.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    VBSEO default
    Code:
     
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums)
    #RewriteBase /
    RewriteRule ^((urllist|sitemap).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.*)$ $1 [L]
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_FILENAME} !chat
    RewriteRule ^(.*.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    Last edited by Ashley; 06-18-2006 at 05:57 AM.

  3. #3
    Senior Member
    Real Name
    FAA Zooman
    Join Date
    Dec 2005
    Location
    Cumbria, UK
    Posts
    208
    Liked
    0 times
    The most confusing part was that I went to bed circa 0130 and posts continued to be made until 0730 at least 6 hours after the last change.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello,
    I had added www redirect late last night (and after everything was working), I know that the w3 redirect is good as I have used it countless times before.
    Is this an .htaccess from forum/ folder? It looks like it is simply not working (including w3 redirect you mentioned).

  5. #5
    Senior Member
    Real Name
    FAA Zooman
    Join Date
    Dec 2005
    Location
    Cumbria, UK
    Posts
    208
    Liked
    0 times
    I got your PM (cheers) and will pass it on, depending if they want to proceed with VBSEO one of the admins will contact you (bankfodder or Dave) with what they want to do.

    OT: I'm sure your sig is growing.

Similar Threads

  1. Syntax for Custom Rewrite Rules
    By Joe Ward in forum Custom Rewrite Rules
    Replies: 33
    Last Post: 02-10-2011, 08:49 PM
  2. vBSEO 2.0 RC7 Released
    By Juan Muriente in forum vBSEO Announcements
    Replies: 17
    Last Post: 09-08-2005, 11:00 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
  •