404 page Setup
Autor: Giulio V.
Besucht 687,
Followers 1,
Geteilt 0
Dear community
I need to create a 404 page. The instructions presented by X5 seems easy enough, but I would like some opinions, suggestions, on the process to do it right the first time. Without having to clean up a mess if it doesen't work.
- I use CANVA and used their 404 page template. When I downloaded it, it suggested to save it as a .pdf, So is this a good file to upload it to my site, or should it be a Jpeg.
- When I upload it to my site, does the program set up the file automatically where the code needs to go? Or do I need to deal with anything on my server like .htaccess etc?
I hope I have presented these questions in a way that is satisfactory, my desire is to know fully how to do it right the first time.
A step by step process will be appreciated very much.
Your suggestions are very much welcomed. Giulio
Gepostet am
Hello Giulio
I suggest to you to create a simple html page like below
And to modify your .htaccess file with the line
ErrorDocument 404 https://wwwmywebsite.com/404.html
Hope this helps
Axel
if you are on linux host, it does everything by itself WebsiteX5 program
You create a blank page
You put the image object there , with your jpg and your text
You set it up as a 404 page
You export
you won't even need to edit the htaccess that WebiteX5 takes care of it.
PS: PDF makes no sense, it is not a native format for the Web.
Autor
Hi Claudio
I rember seeing that the 404 page should not be an indexed page. If so how do I keep it from being indexed?
You are amazing, you provide valid answers quickly and I think you are very appreciated across the community.
Thank you.
as with all other pages on websiteX5
uncheck for sitemap
and add the noindex tag
Autor
Claudio
The reason it said to not index the page is we don't want it to show up on search.
indeed right not to index the 404
And I told you how to do that...:
as with all other pages on websiteX5
uncheck for sitemap
and add the noindex tag
Autor
Hi Claudio
Could you please send me the "No Index" code you are refering to?
And for future reference where or how do I get it. I hope to get this done as soon as possible.
Thank you for your expertise.
as seen in my image
<meta name="robots" content="noindex">
https://developers.google.com/search/docs/crawling-indexing/block-indexing?hl=en