Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

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.

left Zymic Webmaster ForumsZymic Free Web HostingTutorials right
3 Pages V  < 1 2 3 >   Reply to this topic Start new topic
left right
MrTouz
post 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.
Go to the top of the page 
 
  + Quote Post
MH-Dolly
post 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!
Go to the top of the page 
 
  + Quote Post
MicJames
post 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!
Go to the top of the page 
 
  + Quote Post
akpokemon
post 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! biggrin.gif

But I have a problem! sad.gif I made an error on my first .htaccess file, and after I renamed it, it became invisible on Filezilla. sad.gif Then when I followed these steps again to get a working .htaccess file, it wouldn't let me rename my htaccess.txt file to .htaccess in the FTP. It says:
CODE
550 RENAME Failed - destination file already exists

Well, snap. tongue.gif

Could someone please tell me how to delete the existing .htaccess file so I can replace it with the working one? Thank you! biggrin.gif

--akpokemon

EDIT: Sorry for the smilies overload.
Go to the top of the page 
 
  + Quote Post
Roee
post Dec 23 2008, 07:03 PM
Post #25


Newbie
*

Group: Members
Posts: 3
Joined: 15-December 08
Member No.: 73,351



QUOTE(akpokemon @ Dec 23 2008, 12:14 AM) *
But I have a problem! sad.gif I made an error on my first .htaccess file, and after I renamed it, it became invisible on Filezilla. sad.gif Then when I followed these steps again to get a working .htaccess file, it wouldn't let me rename my htaccess.txt file to .htaccess in the FTP. It says:
CODE
550 RENAME Failed - destination file already exists

Well, snap. tongue.gif

Could someone please tell me how to delete the existing .htaccess file so I can replace it with the working one? Thank you! biggrin.gif


You can use the "File Manager" in your account control panel and delete the file from there.
Go to the top of the page 
 
  + Quote Post
akpokemon
post 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



QUOTE(Roee @ Dec 23 2008, 02:03 PM) *
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
Go to the top of the page 
 
  + Quote Post
M-Optimizer
post 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.
Go to the top of the page 
 
  + Quote Post
Abdes Samad
post 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 biggrin.gif
Go to the top of the page 
 
  + Quote Post
myjunkie
post Jan 12 2009, 09:49 AM
Post #29


Newbie
*

Group: Members
Posts: 3
Joined: 12-January 09
Member No.: 77,265



Great tutorial! biggrin.gif
Go to the top of the page 
 
  + Quote Post
primatage
post 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.
Go to the top of the page 
 
  + Quote Post
Sir Graystar
post 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?
Go to the top of the page 
 
  + Quote Post
Jenniferlinn
post Mar 12 2009, 07:01 AM
Post #32


Newbie
*

Group: Members
Posts: 10
Joined: 10-March 09
From: UK
Member No.: 86,397



QUOTE(NaRzY @ Jul 18 2008, 09:46 AM) *
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
Go to the top of the page 
 
  + Quote Post
farhome
post 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?
Go to the top of the page 
 
  + Quote Post
alicia8522
post 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 !
Go to the top of the page 
 
  + Quote Post
Jacob
post 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



QUOTE(farhome @ Jun 7 2009, 05:13 PM) *
oo this is what i'm looking for. by the way i guess we can do this is Cpanel, is it not?

cPanel accounts (Zymic does not currently provide) does have the error pages module installed and is easily customisable.

Jacob.
Go to the top of the page 
 
  + Quote Post
Jacob
post 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.
Go to the top of the page 
 
  + Quote Post
lynndalton
post 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.... smile.gif
Go to the top of the page 
 
  + Quote Post
jordan k hu
post 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!
Go to the top of the page 
 
  + Quote Post
True
post 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
Go to the top of the page 
 
  + Quote Post
Ed
post 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



QUOTE(True @ Dec 22 2009, 10:35 AM) *
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
Go to the top of the page 
 
  + Quote Post
3 Pages V  < 1 2 3 >
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 20th May 2013 - 02:40 AM