Sorry bout the convoluted title..
http://www.nzboards.com/invalidpage.php - blank page
http://www.nzboards.com/forums/invalidpage.php - redirects nicely.
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....
Sorry bout the convoluted title..
http://www.nzboards.com/invalidpage.php - blank page
http://www.nzboards.com/forums/invalidpage.php - redirects nicely.
I noticed the blank page did gave a 404 status code. I'm asuming your setting is "Redirect to homepage", though.
It is indeed 'Redirect to Homepage'.
You got a 404? I just get a blank page. :(
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).I'm using a local proxy to view these headers... More about status codes and the HTTP/1.1 protocol hereHTTP/1.1 404 Not Found
Date: Thu, 08 Sep 2005 10:17:21 GMT
Server: <not-relevant>
Transfer-Encoding: chunked
Content-Type: text/html
Last edited by xb_; 09-08-2005 at 12:16 PM. Reason: added links
Hi!Sorry bout the convoluted title..
http://www.nzboards.com/invalidpage.php - blank page
http://www.nzboards.com/forums/invalidpage.php - redirects nicely.
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:
Let us know how it worksCode:RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ / [R=301]![]()
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Alrighty then! It now redirects to www.nzboards.com!
I have at the top, this:
Will this cause problems?Code:RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.nzboards\.com$ [NC] RewriteRule ^(.*) http://www.nzboards.com/$1 [L,R=301]
No problem here, there will be no conflicts with these rules.Will this cause problems?
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!