Making Your Very Own Custom 404 Page (not Found), Jazz up your 404's |
||
Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
Zymic Webmaster Forums Zymic Free Web Hosting Tutorials |
||
3 Pages
< 1 2 3 >
|
![]() |
Making Your Very Own Custom 404 Page (not Found), Jazz up your 404's |
||
Nov 24 2008, 11:47 PM
Post
#21
|
|
![]() Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,196 Joined: 19-September 07 Member No.: 234 |
Just an other tip :
If you want to use images in your 404 it is suggested to put the full path of the image http://www.mysite.com/images/404.png for example and not images/404.png. It sounds logical and not logical at the same time for me..but oh well. |
|
|
Dec 9 2008, 03:31 PM
Post
#22
|
|
|
Newbie ![]() Group: Members Posts: 20 Joined: 9-December 08 From: Romania Member No.: 72,335 |
thanks! I will use it when I go home!
|
|
|
Dec 10 2008, 02:45 AM
Post
#23
|
|
|
Newbie ![]() Group: Members Posts: 17 Joined: 10-December 08 Member No.: 72,498 |
That is really useful and well explained, thanks!
|
|
|
Dec 23 2008, 12:14 AM
Post
#24
|
|
|
Newbie ![]() Group: Members Posts: 20 Joined: 23-November 08 From: Somewhere...O.o Member No.: 70,231 |
Thank you so much! How cool!
But I have a problem! CODE 550 RENAME Failed - destination file already exists Well, snap. Could someone please tell me how to delete the existing .htaccess file so I can replace it with the working one? Thank you! --akpokemon EDIT: Sorry for the smilies overload. |
|
|
Dec 23 2008, 07:03 PM
Post
#25
|
|
|
Newbie ![]() Group: Members Posts: 3 Joined: 15-December 08 Member No.: 73,351 |
But I have a problem! CODE 550 RENAME Failed - destination file already exists Well, snap. Could someone please tell me how to delete the existing .htaccess file so I can replace it with the working one? Thank you! You can use the "File Manager" in your account control panel and delete the file from there. |
|
|
Dec 24 2008, 01:18 AM
Post
#26
|
|
|
Newbie ![]() Group: Members Posts: 20 Joined: 23-November 08 From: Somewhere...O.o Member No.: 70,231 |
You can use the "File Manager" in your account control panel and delete the file from there. Oh...jk. Not compatible with sub-domains. Wow. Ha. Okay. Thanks, though! Would it work if I got a free domain like co.cc or something like that? Thanks |
|
|
Jan 11 2009, 05:15 AM
Post
#27
|
|
![]() Newbie ![]() Group: Members Posts: 22 Joined: 18-December 08 Member No.: 73,705 |
I don't know why it doesn't work for me.
|
|
|
Jan 11 2009, 11:23 AM
Post
#28
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 10-January 09 Member No.: 77,077 |
If it will work, all would be nice
|
|
|
Jan 12 2009, 09:49 AM
Post
#29
|
|
|
Newbie ![]() Group: Members Posts: 3 Joined: 12-January 09 Member No.: 77,265 |
Great tutorial!
|
|
|
Feb 18 2009, 03:12 AM
Post
#30
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 17-February 09 Member No.: 82,651 |
PROBLEM:
Several people have posted asking why this does not work with free hosting accounts here on zymic, and yet no one has answered them. Can somebody PLEASE help us all? Why won't the file manager allow upload of any file resembling an htaccess file to any folder besides root? I for one would be extremely grateful to anyone who can clear this up for the people that the tip didn't miraculously work for. |
|
|
Mar 9 2009, 06:16 PM
Post
#31
|
|
|
Newbie ![]() Group: Members Posts: 6 Joined: 1-March 09 Member No.: 84,364 |
This doesn't really work for me. If I get a 404 error straight from the root directory (e.g mysite.com/rg4325) then it goes to the uuuq 404 page, but if I get one from index.php (e.g mysite.com/index.php/rg4325) then it does work. Help anyone?
|
|
|
Mar 12 2009, 07:01 AM
Post
#32
|
|
|
Newbie ![]() Group: Members Posts: 10 Joined: 10-March 09 From: UK Member No.: 86,397 |
A cool trick you can entice your visitors with is custom error pages. When a page on your server is not found, your visitors will normally see their browser's default message such as "Page cannot be displayed." If you used a custom error page though, your visitors will see your page. 404 Error pages will ONLY work if you are using it on a domain. Sub-domains (something.your-site.com or http://www.your-site.com/something) will NOT work. Here's How: 1. Create an HTML file for your 404 page. It could be anything you would like. It could be just simply 404 on a blank page.. or it could be your layout that includes the 404 words in it.. it's all up to you. 2. Save that file in any file format you want (html, php etc;) and upload it to your webserver. You can either keep it in your main or root directory, or you can create a subfolder. If you're only going to be using one (404) then I suggest just leaving it in your root folder. 3. Press start > Run > type "notepad" (in mac, just open a text editor) now you will take this code below, and put it into your text editor: CODE ErrorDocument 404 http://www.yoursite.com/404.htm 4. Remember, change the URL in the above code to the path of your 404 page on your server. 5. Now file > save as > htaccess.txt | save it somewhere that you will remember. 6. Upload the HTACCESS.TXT folder to your webserver. (Make sure it's in the home or root directory) 7. Rename the file (will be different for different ftp clients) to .HTACCESS (make sure there is a "." before HTACCESS and NO ".txt" after HTACCESS) 8. And there you go! You should be good to go. There are also other error pages available such as internal error, forbidden etc; search google for these .. and then its just a matter of adding that code to your .htaccess file and making another error document (like your 404 page). Any questions? Jacob. Hello Jacob Thanks for the tutorial , let me try it on my machine then i will be back with my feedback |
|
|
Jun 7 2009, 07:13 AM
Post
#33
|
|
|
Newbie ![]() Group: Members Posts: 25 Joined: 7-June 09 Member No.: 98,297 |
oo this is what i'm looking for. by the way i guess we can do this is Cpanel, is it not?
|
|
|
Aug 2 2009, 02:06 AM
Post
#34
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 2-August 09 Member No.: 105,058 |
Excellent information - thank you. I will definitely recommend your post to my friends. Nice trick !
|
|
|
Aug 2 2009, 04:56 AM
Post
#35
|
|
![]() Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderators Posts: 5,140 Joined: 11-May 08 From: Australia Member No.: 25,876 |
|
|
|
Oct 20 2009, 01:35 PM
Post
#36
|
|
![]() Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderators Posts: 5,140 Joined: 11-May 08 From: Australia Member No.: 25,876 |
Just for the record, this has been tested and works fine on Zymic servers. You just need to make sure all files are correctly named and uploaded before attempting to test it.
|
|
|
Dec 8 2009, 09:37 AM
Post
#37
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 8-December 09 Member No.: 121,754 |
Hey...
Thanks for providing such a wonderful stuff. Its really informative thread. This is interesting issue, Hope many members get more information through this thread.... |
|
|
Dec 21 2009, 07:12 PM
Post
#38
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 8-December 09 Member No.: 121,800 |
Works on my subdomain!
|
|
|
Dec 22 2009, 10:35 AM
Post
#39
|
|
|
Newbie ![]() Group: Members Posts: 8 Joined: 21-December 09 From: England, UK Member No.: 123,410 |
Hi, This has not worked for me. I did exactly how it said and it still comes up with the zymic 404....any reason why that comes up. My .HTACCESS file ( named exacltly that) says: "ErrorDocument 404 http://true.zxq.net/404.html" Without quotes. I uploaded it and renamed to .HTACCESS And then i tested ......it comes up with http://www.hosting.zymic.com/404/
And i want it to come up with: http://true.zxq.net/404.html Any help? Thanks True |
|
|
Dec 22 2009, 11:42 AM
Post
#40
|
|
![]() Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 2,831 Joined: 11-March 07 From: UK Member No.: 9 |
Hi, This has not worked for me. I did exactly how it said and it still comes up with the zymic 404....any reason why that comes up. My .HTACCESS file ( named exacltly that) says: "ErrorDocument 404 http://true.zxq.net/404.html" Without quotes. I uploaded it and renamed to .HTACCESS And then i tested ......it comes up with http://www.hosting.zymic.com/404/ And i want it to come up with: http://true.zxq.net/404.html Any help? Thanks True Needs to be all lowercase: .htaccess |
|
|
![]() |
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 20th May 2013 - 02:40 AM |