/ in Miscellaneous, V13 Tuotorials / by

How to create a 404 error page with website x5

Hi  guys this is a quick tutorial on how to do a automatic 404 error page with website x5, now we are doing it with website x5 evolution 13 but this will work with any version of website

You do not need to touch any of the scripts.

 

404-error-page

 

  View Demo

The demo button above is a page that does not exist on our fitness template but redirects directly to the 404 error page that we created for this specific tutorial.

I’m going to offer you a very basic fix to this problem, but you’d best ask your system people if they want you doing this first. Better yet, ask them if you might mess things up by doing this.

Your .htaccess File

This is the file that will do the trick for you. You should already have one waiting inside of your Web site directory. If you don’t, then you’ll need to create it.

FTP into your server so you’re looking at the top level directory where you store your Web page files. This should be the directory that contains your home page document. Look for the .htaccess file there. Again, if you don’t find it (it should be one of the very first files), then you’ll need to create it.
Please notice the dot (.) starting it off.

Here again is where you might have to get in touch with your systems people and ask them how they want you to edit or create this file. Some may allow you to do it like you would any other Web page, by creating a text document and uploading it, while others might want you to use a PICO editor and do it right on the server. It might be best not to guess at it.

Let’s Edit It

Add this to the .htaccess file:

ErrorDocument 404 http://www.domain.com/404page.html

That’s it. Just that line. (Yes, it should all be on one line–some smaller computer screens may bump it down to two–get it all on one.) Where I have http://www.domain.com/404page.html is where you place the full URL pointing to that new, fancy 404 Error page you’ve created.
…you have already created an error page, right?

Let’s Turn It On

If you already had an .htaccess page in your directory then chances are it’s already turned on. If not, you need to do that. If you’re using a UNIX server then you’ll need to access the server and type this command at the prompt:

chmod 644 .htaccess

If you’re not running a UNIX machine, I believe the file is ready to go, but again, contact your server people to see if I’m on the money or not.

That’s It!

Upload your new 404 error page, if you haven’t already, and log into your site. Then try to go to a page that doesn’t exist. You should get the page you denoted in the .htaccess file. If you don’t, first check to see if the file is turned on by trying the CHMOD again. If you still get nothing, then get back in touch with your system people and ask them for more specific help.
You’ll be the envy of people who go to non-existent pages everywhere.

Enjoy!

Post preview

One by One Slider for Serif Webplus

Hi  guys this is a quick tutorial on how to add the One by One slider addon to your serif…

How to customize the Flip Clock Object for website x5

Theres been a few questions on the website x5 helpcenter about whether its possible to customise the flip clock object…

Leave a reply

Your email address will not be published. Required fields are marked *