Results 1 to 5 of 5

404 Error

This is a discussion on 404 Error within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I keep getting the following error on all rewritten urls: Not Found The requested URL /forums/planted-nano-tanks.html was not found on ...

  1. #1
    Junior Member
    Real Name
    Kyle
    Join Date
    Jan 2006
    Posts
    23
    Liked
    0 times

    404 Error

    I keep getting the following error on all rewritten urls:

    Not Found

    The requested URL /forums/planted-nano-tanks.html was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.




    Now I looked under troubleshooting and it said "Open your .htaccess file and remove the '#' before 'RewriteBase' Please note: when enabled, you must include the path to your root vB folder (i.e. RewriteBase /forums)"



    But when I open up my .htaccess file, that line doesn't exist, In fact their are only three lines. They are:



    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^view_(.*).htm$ view.php?pg=$1



    Shouldnt' there be a lot more?



    Kyle

  2. #2
    ADM
    ADM is offline
    Senior Member ADM's Avatar
    Real Name
    Peter Papadopoulos
    Join Date
    Aug 2005
    Location
    Perth, Australia
    Posts
    254
    Liked
    0 times
    Have you uploaded the .htaccess file provided with the vbseo package to your forums root directory?

  3. #3
    Junior Member
    Real Name
    Kyle
    Join Date
    Jan 2006
    Posts
    23
    Liked
    0 times
    Yessir.

  4. #4
    ADM
    ADM is offline
    Senior Member ADM's Avatar
    Real Name
    Peter Papadopoulos
    Join Date
    Aug 2005
    Location
    Perth, Australia
    Posts
    254
    Liked
    0 times
    The contents of the .htaccess file should read:

    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 ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    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]
    So if you've only got those three lines then it doesn't look like you uploaded it correctly.

  5. #5
    Junior Member
    Real Name
    Kyle
    Join Date
    Jan 2006
    Posts
    23
    Liked
    0 times
    Fantastic that fixed it. It's not that I uploaded it wrong. That is what the file I downloaded from Vbseo.com/downloads contained.

Similar Threads

  1. Replies: 7
    Last Post: 05-09-2006, 02:07 AM
  2. 404 Not Found error
    By Pirate in forum Troubleshooting
    Replies: 3
    Last Post: 01-25-2006, 03:35 PM
  3. Problems with 404 & Error 500
    By Lazer in forum Troubleshooting
    Replies: 11
    Last Post: 11-06-2005, 05:36 AM
  4. Refresh 404 error
    By Dave in forum Pre-Sales Questions
    Replies: 2
    Last Post: 10-01-2005, 01:23 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
  •