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

How to create a temporary 302 redirect via htaccess

An easy way to create a temporary redirect from one page to another web page is to use the 302...

Redirect http to https and www

To forward a website to use both www. and https:// use the following in an .htaccess file:...

Enable Mod Rewrite

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

How do I customize error messages for my site?

Within control panel select Custom Error Pages. Select the error code link and place whatever...

How can I make search engine friendly urls with my app?

The best source is the support forums for the particular app. You can also check the following...