How do I redirect any 404 page-not-found errors to my site map page?

Category: How To

custo150
Asked:
2013-05-08 7:39 pm EST

Hits: 6,942
How do I redirect any 404 page-not-found errors to my site map page?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Does cpanel have an app for redirecting all 404's to a page which I specify (http://custom-tiles.com/site-map-for-custom-tiles)?
custo150
5 Points
2013-05-08 08:01 pm EST

OTHER ANSWERS

0

Arn
Staff
15,484 Points
2013-05-08 8:08 pm EST
Hello Custo150,

You can create a custom 404 error page and then embed code to redirect to another page . We have an article that you can use called creating a custom 404 error page. The 404 error is a standard error message but you can direct a customer to a page by adding the code in your .htaccess file like this:

ErrorDocument 404 index.html

This will show the index page when the 404 error shows. For more information on editing your .htaccess file check out Setting a 404 error page via .htaccess.

If you have any further questions, please contact technical support available 24 hours a day / 7 days a week.

Arnel C.
InMotion Hosting
Community Support Team

You must login before you can post a comment about this answer.

0

Arn
Staff
15,484 Points
2013-05-08 8:39 pm EST
Hello Custo150,

Cpanel has a way for you create custom 404 pages, but you would need to add code on the 404 page in order to provide a link to another page. Automatically re-directing everytime there is a 404 can also get you penalized by search engines, so it's not always recommended. Here's a suggestion for making your 404 pages jump after a period of time. You would need to paste this code in your custom 404 error page:

<meta http-equiv="Refresh" content = "10; URL=http://www.domain_name.com/sitemap.html">


This will cause the page to refresh in 10 seconds and then automatically jump to the page that you indicate. Here's Google Webmaster Tools take on the issue of using 404 errors: 404(Not Found - About Not Found Errors.

If you have any further questions, please contact technical support available 24 hours a day / 7 days a week.

Arnel C.
InMotion Hosting
Community Support Team

You must login before you can post a comment about this answer.

Like this Question?

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 201649

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!