Hey,
How can I make a customized Error 404 page ?
Hey,
How can I make a customized Error 404 page ?
If you are hosted on a free server that gives you their own default error page, then you may not be able to customize your own. Please follow the below steps:
1. Develop and upload a webpage called 404page.html (this file will act as your 404 error page)
2. Create a new file using your text editor (notepad will do), type only this into a new file, changing the url to point to the path of your 404page.html file.
ErrorDocument 404 http://www.yoururl.com/404page.html
3. Save the file as .htaccess.
Now upload this file into your root directory which contains all your other webpages.
Thats it. If your web host supports .htaccess file then you'll have your own 404 error page
Works perfectly. Thanks a lot !
The reason why it didn' work before is because I worked with windows instead of Linux !
It should actually work with both.
Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
Currently: enjoying the early holidays :)Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide
Yes it will work with Windows & Linux. I think you did some non-correct items while you use Linux.
Anyway the issue got resolved.
Bookmarks