Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.

    GIF shows where to locate </> in the thread and or post editor toolbar.
    To learn more about how to use our BBCode feature, review our "How to post your code into threads" here.

    Thank you, Code Forum.

How do I make a 404 page?

It depends on your host. Mine has a 404.shtml and a custom section for error messages that just allows editing that .shtml, like you would have to input text of HTML for 404 if you were using like my host. No uploading in some cases, just copy and paste. Note that 404s will negatively impact your SEO. X E.
 
Depends on the host. Some hosts will automatically search for an existing 404.html in the root directory and use that, otherwise you will have to configure it somewhere in your server options or .htaccess.

If using .htaccess, do something like this, with 404.html being your 404 page:
Code:
ErrorDocument 404 /404.html


Note that 404s will negatively impact your SEO
Correct me if I'm wrong, but I don't think having a custom 404 page will reduce SEO. Linking to a non-existing (404) page might reduce the SEO, but I don't think having a custom 404 page will.
 
Depends on the host. Some hosts will automatically search for an existing 404.html in the root directory and use that, otherwise you will have to configure it somewhere in your server options or .htaccess.

If using .htaccess, do something like this, with 404.html being your 404 page:
Code:
ErrorDocument 404 /404.html



Correct me if I'm wrong, but I don't think having a custom 404 page will reduce SEO. Linking to a non-existing (404) page might reduce the SEO, but I don't think having a custom 404 page will.

Possibly it's just links that result in a 404 are what have a negative impact. In other words, don't have dead links on your site.
 

Buy us a coffee!

Buy me a coffee.
Back
Top Bottom