Forum Moderators: phranque
My question is: will this count as a doorway page? It fits the definition of a doorway page in that no other page on the site links to it.
I don't want to be punished for this.
We get a lot of talk about sites being penalized for this and that, but the real answer is often quite obvious -- low-quality, zero-unique-content sites riddled with dancing bologna and ads that cause the unsuspecting visitor to click on an ad just to get out of there as quickly as possible. So don't fall for the 'culture of fear' that surrounds these sites and their owners; You'll get penalized if you really deserve it, and not likely otherwise.
Jim
Let's pretend it's called ut-oh.htm
At the top of my htaccess file I put:
Errordocument 403 /ut-oh.htm
Errordocument 404 /ut-oh.htm
Errordocument 410 /ut-oh.htm
The ut-oh page is a small imageless page, just enough text to explain what they sought is either no longer available to them, or the request was misunderstood, or sorry, it's just plain gone. I include a link back to the main site as well.
It's been utilized long enough that if an SE was gonna choke, it shoulda done so already.
is this OK?
Thanks
Manou
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^nameOfMysite\.com [NC]
RewriteRule ^(.*)$ http://www.nameOfMysite.com/$1 [L,R=301]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.shtml\ HTTP/
RewriteRule ^index\.html$ http://www.nameOfMysite.com/ [R=301,L]
ErrorDocument 404 http://nameOfMysite.com/404.html
<meta name="Robots" content="All"/>
Welcome to WebmasterWorld!
Two problems:
1) Your RewriteCond says ".shtml" and your RewriteRule says ".html". These must agree.
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index[b]\.shtml[/b]\ HTTP/
RewriteRule ^index[b]\.html[/b]$ http://www.nameOfMysite.com/ [R=301,L]
2) Your ErrorDocument syntax is incorrrect. It will result in a 302-Moved Temporarily redirect response, rather than the desired 404-Not Found response. This can cause rather nasty problems with your search engine listings. See the Apache ErrorDocument documentation [httpd.apache.org] for details.
ErrorDocument 404 http://nameOfMysite.com/404.html
ErrorDocument 404 /404.html
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^nameOfMysite.com\.com [NC]
RewriteRule ^(.*)$ http://www.nameOfMysite.com.com/$1 [L,R=301]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/
RewriteRule ^index\.html$ http://nameOfMysite.com.com/ [R=301,L]
ErrorDocument 404 /404.html
<meta name="Robots" content="All"/>