Create a 410 Redirect for Missing Files

A redirect which is often forgot about is the 410 redirect. This is search engine friendly in the instance where a page no longer exists and does not have a new location. Telling the search engines the file is now gone prevents those dreaded soft-404 errors and prevents them re-attempting to visit the page over and over again. To perform the redirect use the following in your .htaccess file:

ErrorDocument 410 /410.html
Redirect 410 /gonepage.html



  • 107 Users Found This Useful

Was this answer helpful?

Related Articles

Disable error_log via htaccess

Prevent public display of PHP errors via htaccess# supress php errorsphp_flag...

What is a domain?

A domain is a human-readable name assigned to an IP address to make accessing websites much...

Password Protect Directories

Within control panel select Password Protection. Select the directory you would like to protect....

When should I use ascii and when should I use binary?

Many FTP client programs support and auto mode to detect the proper upload type based on file...

301 Redirect

This code will redirect all visitors who attempt to access the old-url.html page to the...