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 are these htaccess files that keep popping up?

.htaccess files are default files the server uses to perform certain tasks. Features such as...

Cross Origin Request Error

When receiving a cross-origin / cross original request, CORS header 'Access-Control-Allow-Origin'...

When I upload an htaccess file it disappears

On unix/linux systems, files that start with a . are considered hidden so many ftp programs do...

Why is my account suspended?

Why is my account suspended? If you are receiving an account suspended page when trying to access...

My pages are updating/refreshing slowly

Refresh is immediate on the server. When a file is updated and uploaded it is there. If you are...