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

What is this Code 304 appearing in my stats?

304 is typically sent as a header if a visitor re-requests a document and the document has not...

View your website in older browser versions

As developers and webmasters it is always important to make sure your website works in several...

https:// with Weebly

To enable and force https:// with your Weebly website, be sure to go into your editor area,...

How can I redirect http to https?

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

Can you write a script for me?

We do not write scripts but will be more than happy to guide you in the right direction. Most the...