Results 1 to 10 of 10

404 - .htaccess problem

This is a discussion on 404 - .htaccess problem within the Troubleshooting forums, part of the vBSEO SEO Plugin category; After upgrading to 3.3.0 I started to have 404 errors in many folders of my site. My forum and homepage ...

  1. #1
    Gri
    Gri is offline
    Member Gri's Avatar
    Real Name
    Sinan
    Join Date
    Feb 2007
    Location
    Istanbul
    Posts
    37
    Liked
    0 times

    404 - .htaccess problem

    After upgrading to 3.3.0 I started to have 404 errors in many folders of my site. My forum and homepage works correctly (except albums not showing photos after upgrade) but when I try to run other files in other folders, always get a 404 error. I've tried this but nothing changed.

    The .htaccess in my root and forum folders are like this (my admin and mod folders are named admin and mod, not admincp and modcp):

    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 /
    
    #RewriteCond %{HTTP_HOST} !^www\.dipsizkuyu\.net
    #RewriteRule (.*) http://www.dipsizkuyu.net/forum/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [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]
    
    <IfModule mod_security.c>
       SecFilterEngine Off
       SecFilterScanPOST Off
    </IfModule>
    
    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,111
    Liked
    622 times
    Blog Entries
    4
    vBSEO .htaccess file has been updated. Please use the .htaccess file that comes with vBSEO 3.3.0 package.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Gri
    Gri is offline
    Member Gri's Avatar
    Real Name
    Sinan
    Join Date
    Feb 2007
    Location
    Istanbul
    Posts
    37
    Liked
    0 times
    This is it, I've only changed admin/mod cp paths and added mod security part.

  4. #4
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,111
    Liked
    622 times
    Blog Entries
    4
    vBSEO 3.3.0 .htaccess content is as following

    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 /
    
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    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]
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  5. #5
    Gri
    Gri is offline
    Member Gri's Avatar
    Real Name
    Sinan
    Join Date
    Feb 2007
    Location
    Istanbul
    Posts
    37
    Liked
    0 times
    I've changed it to this (except forum path) but the problem still exists.

  6. #6
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,111
    Liked
    622 times
    Blog Entries
    4
    If you have international characters within your album titles , make sure album rewrites include album_id
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  7. #7
    Gri
    Gri is offline
    Member Gri's Avatar
    Real Name
    Sinan
    Join Date
    Feb 2007
    Location
    Istanbul
    Posts
    37
    Liked
    0 times
    Thanks for this tip, but there is one more thing. I've uploaded some files to a folder named testvb, I was planning to install a test forum but when I try to run files from browser, I always get a 404 error.

  8. #8
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,111
    Liked
    622 times
    Blog Entries
    4
    You need to create a support ticket and request a test license. vBSEO will only run on registered domain.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  9. #9
    Gri
    Gri is offline
    Member Gri's Avatar
    Real Name
    Sinan
    Join Date
    Feb 2007
    Location
    Istanbul
    Posts
    37
    Liked
    0 times
    No, it's on the same domain. What I'm doing it to try to install a test forum on my vbseo registered domain.

  10. #10
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,111
    Liked
    622 times
    Blog Entries
    4
    Even it is on the same domain , you'll need a test license.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

Similar Threads

  1. problem with .htaccess??
    By sjd996 in forum Troubleshooting
    Replies: 6
    Last Post: 04-02-2009, 10:27 PM
  2. .htaccess Problem
    By ptwiggens in forum URL Rewrite Settings
    Replies: 5
    Last Post: 04-15-2008, 10:48 AM
  3. Problem with .htaccess
    By ciforum in forum General Discussion
    Replies: 5
    Last Post: 03-24-2008, 01:51 PM
  4. Problem with htaccess
    By Hawork in forum General Discussion
    Replies: 1
    Last Post: 04-13-2007, 08:23 PM
  5. htaccess file problem / vbseo problem
    By Bestgfe in forum Troubleshooting
    Replies: 6
    Last Post: 04-05-2006, 09:21 AM

Posting Permissions

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