Quantcast
Channel: IT-Linux
Viewing all articles
Browse latest Browse all 171

How to Force Apache To Show a HTTP-410 Gone Status Code

$
0
0

I removed www.example.com/foo/file.html from my domain. But, it is still being crawled by Google/Yahoo and many other bots. How do I return a HTTP-410 gone error i.e. tell these bots that resource permanently does not exist using Apache HTTPD server on a CentOS/RHEL/Fedora/Ubuntu/Debian and Unix-like operating system?


Viewing all articles
Browse latest Browse all 171

Trending Articles