TCH-Thomas Posted June 11, 2003 Posted June 11, 2003 On CMG-portal, Curtis has a great 404-page that I run in to sometimes. Ok, I bookmarked it. I also know that you/he uses CuteSite builder. How do I do such a 404-page? From scratch, please. You know I am a bit lost in just about everything and especially in that. -Thomas tompa@jikrantz.com http://www.jikrantz.com Quote
TCH-JimE Posted June 11, 2003 Posted June 11, 2003 Hi, First of all, a 404 page is just like any other page that you have in your website. You then must edit your .htaccess to point to this page when it finds a 404 error. This is what you need: >ErrorDocument 404 Http://www.yourdomainname.com/pathtopage/error404.html let us know if you have any problems! Jim Quote
TCH-Thomas Posted June 11, 2003 Author Posted June 11, 2003 Ok, let me ask you one thing more, I did tell you I´m not good at this. Is it line: AuthName www.jikrantz.com That I edit to what you say? -Thomas Quote
TCH-JimE Posted June 11, 2003 Posted June 11, 2003 Hi, No, at the very bottom, just start a new line and put the bit in above Jim Quote
curtis Posted June 11, 2003 Posted June 11, 2003 Thomas, Yep thats all there is to it. You can do some nice stuff using the .htaccess. Try this link for more info on .htaccess. http://www.javascriptkit.com/howto/htaccess.shtml I found this page posted in this forum earlier this week. I'm a little late on this but some of you just get up WAY to early. curtis Quote
TCH-Don Posted June 11, 2003 Posted June 11, 2003 Thomas, you can make the error page in CSB, then view the source and copy it. Goto your control panel>Site managment>Custom error pages. Click on 404 wrong page, this will take you to a window where you can paste the source code. And later edit it there, to add internal variables like Requested URL like after the text "you have reached this page in error" you can click on the button above the window for Requested URL to insert it there, which will insert <!--#echo var="REQUEST_URI" --> after the text. Then at the bottom click save. Hope this helps Quote
TCH-Thomas Posted June 12, 2003 Author Posted June 12, 2003 Thanks huys. That worked well. Thumbs Up Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.