404 page.
hello!
i read somewhere that any one can make your on 404 page.
but the catch that you have to have your won domain.
i have my adress. http://mysite.myhost.com
and if i get in my site to a url that wasn't found i get from my MSIE (5) that the page wasn't founded...
and he gave me the domain:
mysite.NotMyDomain.com
so can i do a 404 page?!?
and another Q:
how can isee whether i have on my folder at the host a htpaccess file or not?!
how do i creat one?
thank you all!
------------------
I bet you never been in this site before...
Deja~vu
I bet you never been in this site before...
Deja~vu
Maverick posted this at 01:09 — 17th December 1999.
They have: 334 posts
Joined: Dec 1999
It depends on who your host is.
If you have access to your own .htacess file you can do it easily. Just create a HTML page, name it 404.html and upload it to your directory. Then edit your .htacess file to include the line
ErrorDocument 404 http://www.yourdomain.com/404.html
The same goes for other error docs too like:
ErrorDocument 401 http://www.yourdomain.com/401.html
ErrorDocument 403 http://www.yourdomain.com/403.html
ErrorDocument 500 http://www.yourdomain.com/500.html
However, before doing this make sure you have access to and are allowed to edit your .htacess file. Some hosts allow custom 404 pages, but THEY maintain control of that file and they make the edits to it, so you'd need to contact the host tech support for details. Other hosts (especially FWPs) don't allow any changes to your .htaccess file, so you're out of luck.
When in doubt, always contact your host before making changes to that file. If you do things wrong you can really cause some problems, so it's best to check 1st.
tslam posted this at 01:14 — 17th December 1999.
They have: 44 posts
Joined: Jul 1999
thank you!
i thought to do it already, but now - thanks to you - i decided to contact them...
bye bye...
------------------
I bet you never been in this site before...
Deja~vu
I bet you never been in this site before...
Deja~vu
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.