vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Results 1 to 7 of 7

Server sending 404 - even though page shows?

This is a discussion on Server sending 404 - even though page shows? within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Just lost my PR on my forums index page ( http://micechat.com/forums/ ) I know why, because for some odd reason ...

  1. #1
    Junior Member
    Real Name
    Hastin Zylsra
    Join Date
    Aug 2008
    Posts
    5

    Server sending 404 - even though page shows?

    Just lost my PR on my forums index page (http://micechat.com/forums/)

    I know why, because for some odd reason - the headers for http://micechat.com/forums/ are giving me a 404 error: View HTTP Request and Response Header However, the page shows up just fine.

    However, if you use MiceChat - Powered by vBulletin - it's working.

    Any ideas about this?

  2. #2
    Junior Member
    Real Name
    Hastin Zylsra
    Join Date
    Aug 2008
    Posts
    5
    Okay, I figured it out but still have a question:

    I have a .htaccess in my root for WordPress. How do I block that .htaccess from trying to redirect the /forums/ directory to a wordpress page? Here's the .htaccess:

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.micechat\.com [NC]
    RewriteRule (.*) http://micechat.com/$1 [R=301,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    

  3. #3
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,554
    Hello,

    it reports http code 200 for me:
    Code:
    HTTP Status Code: HTTP/1.1 200 OK
    
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,554
    If you have .htaccess in forums folder then it should not affect it.
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


  5. #5
    Junior Member
    Real Name
    Hastin Zylsra
    Join Date
    Aug 2008
    Posts
    5
    Quote Originally Posted by Oleg Ignatiuk View Post
    If you have .htaccess in forums folder then it should not affect it.
    It shoudln't, but it is. It's like it's ignoring it. I was messing with it to get the 200 code, but under a default config, it's still 404. Here's the setup:

    Root has this .htaccess:

    Code:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    
    /forums has this .htaccess:

    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
    RewriteCond %{HTTP_HOST} ^www\.micechat\.com [NC]
    RewriteRule (.*) http://micechat.com/forums/$1 [R=301,L]
    RewriteRule ^forumdisplay.php/(.*)-([0-9]+)p([0-9]+).html$ vbseo.php?vbseourl=forumdisplay.php&f=$2&page=$3 [L]
    RewriteRule ^showthread.php/(.*)-([0-9]+)p([0-9]+).html$ vbseo.php?vbseourl=showthread.php&t=$2&page=$3 [L]
    RewriteRule ^forumdisplay.php/(.*)-([0-9]+).html$ vbseo.php?vbseourl=forumdisplay.php&f=$2&page= [L]
    RewriteRule ^showthread.php/(.*)-([0-9]+).html$ vbseo.php?vbseourl=showthread.php&t=$2&page= [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 /forums/
    #RewriteCond %{HTTP_HOST} !^www\.micechat\.com
    #RewriteRule (.*) http://micechat.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)
    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]
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,554
    How does it affect it? MiceChat - Powered by vBulletin opens fine for me.
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


  7. #7
    Junior Member
    Real Name
    Hastin Zylsra
    Join Date
    Aug 2008
    Posts
    5
    Quote Originally Posted by Oleg Ignatiuk View Post
    How does it affect it? MiceChat - Powered by vBulletin opens fine for me.
    I figured it out, it was an error with the intergration script I have with WordPress and vB.

Similar Threads

  1. [Forum_Title] shows up in page title
    By len backus in forum Relevant Replacements
    Replies: 2
    Last Post: 08-12-2008, 05:25 PM
  2. cached page resolving server path
    By sensimilla in forum Bug Reporting
    Replies: 5
    Last Post: 01-24-2007, 02:44 AM
  3. Sending a Message To Everyone?
    By majordude in forum Off-Topic & Chit Chat
    Replies: 3
    Last Post: 09-22-2006, 12:36 AM