Page is a not externally linkable
- Google
-- Google SEO News and Discussion
---- via this intermediate figment of the imagination


g1smd - 3:56 pm on Jun 23, 2012 (gmt 0)


Why do you think you need to 'redirect'? A redirect tells the browser to ask for a different URL. You don't want that. You want the URL that was requested to directly return a 404 status code in the HTTP header.

If you point the DNS at an empty folder then any request for
www.example.com/<anything> will return a 404 response automatically.


You could also return '410 Gone' using:
RewriteCond %{HTTP_HOST} ^www\.
RewriteRule .* - [G]


Thread source:: http://www.webmasterworld.com/google/4399904.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com