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

Adding HTML to Site Builder

When adding HTML code/source in site builders be sure you are in HTML mode. There is often a...

How can I redirect http to https?

Create an .htaccess file with the following contents and upload it to your public_html directory....

Error 508 / 503 - Resource Limit Reached

To help maintain the stability of servers and keep websites fast, UltraWebHosting has resource...

Disable error_log via htaccess

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

html or htm parsed as shtml not working

To parse .html or .htm files as .shtml add the following to your .htaccess file in the...