Results 1 to 8 of 8

RC8 - Forums in Subdomain - Invalid URLs give blank page when in /

This is a discussion on RC8 - Forums in Subdomain - Invalid URLs give blank page when in / within the Bug Reporting forums, part of the vBSEO SEO Plugin category; Sorry bout the convoluted title.. http://www.nzboards.com/invalidpage.php - blank page http://www.nzboards.com/forums/invalidpage.php - redirects nicely....

  1. #1
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    3,999
    Liked
    11 times

    RC8 - Forums in Subdomain - Invalid URLs give blank page when in /

    Sorry bout the convoluted title..

    http://www.nzboards.com/invalidpage.php - blank page

    http://www.nzboards.com/forums/invalidpage.php - redirects nicely.

  2. #2
    xb_
    xb_ is offline
    Junior Member
    Join Date
    Jul 2005
    Posts
    27
    Liked
    0 times
    I noticed the blank page did gave a 404 status code. I'm asuming your setting is "Redirect to homepage", though.

  3. #3
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    3,999
    Liked
    11 times
    It is indeed 'Redirect to Homepage'.

    You got a 404? I just get a blank page. :(

  4. #4
    xb_
    xb_ is offline
    Junior Member
    Join Date
    Jul 2005
    Posts
    27
    Liked
    0 times
    The status code is only present in the headers which are returned, it is indeed accompanied with a blank page. Since it is a script which returns the header, instead of the server itself (the server probally would've given the page wich is configured in an ErrorDocument directive, next to the status code).
    HTTP/1.1 404 Not Found
    Date: Thu, 08 Sep 2005 10:17:21 GMT
    Server: <not-relevant>
    Transfer-Encoding: chunked
    Content-Type: text/html
    I'm using a local proxy to view these headers... More about status codes and the HTTP/1.1 protocol here
    Last edited by xb_; 09-08-2005 at 12:16 PM. Reason: added links

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Sorry bout the convoluted title..

    http://www.nzboards.com/invalidpage.php - blank page

    http://www.nzboards.com/forums/invalidpage.php - redirects nicely.
    Hi!
    I suppose you have vBSEO installed in the forums/ subfolder. In this case, vBSEO doesn't affect the incorrect URLs that reside 'upper'.
    The solution may be as following - add the .htaccess file to the root folder of your server with these rules:
    Code:
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ / [R=301]
    Let us know how it works
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  6. #6
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    3,999
    Liked
    11 times
    Alrighty then! It now redirects to www.nzboards.com!

  7. #7
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    3,999
    Liked
    11 times
    I have at the top, this:
    Code:
    RewriteEngine On
     RewriteCond %{HTTP_HOST}  !^www\.nzboards\.com$       [NC]
     RewriteRule ^(.*)         http://www.nzboards.com/$1  [L,R=301]
    Will this cause problems?

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Will this cause problems?
    No problem here, there will be no conflicts with these rules.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. vBSEO 2.4.0 Released - Includes Google AdSense Targeting Feature!
    By Juan Muriente in forum vBSEO Announcements
    Replies: 74
    Last Post: 05-20-2006, 10:29 PM
  2. Google Sitemap-Listing of old url's option-from 1.7
    By T2DMan in forum Member Articles
    Replies: 0
    Last Post: 04-02-2006, 09:46 AM
  3. Showing Blank Page for New Threads / Posts in some Forums
    By schford in forum Troubleshooting
    Replies: 2
    Last Post: 02-16-2006, 06:49 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
  •