PC Review


Reply
Thread Tools Rate Thread

Custom 404 page

 
 
=?Utf-8?B?RGFtemlzaA==?=
Guest
Posts: n/a
 
      2nd Jul 2004
1. Any tips on getting a custom 404 page going?

The site in question is on an Apache server and the host provides a script editor to create custom error pages.

2 Should I build the page using FP03 and then insert that code into the provided file?

The next logical question for this newbie is what are the elements of say a 404 page that will need to be included and does FP offer script for this?

Please answer questions 1 and 2 first !!! Thanks for any suggestions.

Damzish


--
Dedicated Virtual Assistant at http://www.world-wide-virtual.us
 
Reply With Quote
 
 
 
 
=?iso-8859-1?Q?Crash_Gordon=AE?=
Guest
Posts: n/a
 
      2nd Jul 2004
You will probably get a nicer looking page if you used FP to create it...yes you can do it if the host allows, just name it per their instructions. Put whatever you want on it...its really just a page.


"Damzish" <(E-Mail Removed)> wrote in message news1F6184C-7D11-42C6-B18B-(E-Mail Removed)...
| 1. Any tips on getting a custom 404 page going?
|
| The site in question is on an Apache server and the host provides a script editor to create custom error pages.
|
| 2 Should I build the page using FP03 and then insert that code into the provided file?
|
| The next logical question for this newbie is what are the elements of say a 404 page that will need to be included and does FP offer script for this?
|
| Please answer questions 1 and 2 first !!! Thanks for any suggestions.
|
| Damzish
|
|
| --
| Dedicated Virtual Assistant at http://www.world-wide-virtual.us
 
Reply With Quote
 
=?iso-8859-1?Q?Crash_Gordon=AE?=
Guest
Posts: n/a
 
      2nd Jul 2004
As far as I know. My current host doesn't allow custom error pages, but my last one did. I made them look exactly like a regular page of the web only it said...

Oops! You've been 404'd, please use your back button to return from whence you came...


"Damzish" <(E-Mail Removed)> wrote in message news:87081EA6-BD77-4551-A0C5-(E-Mail Removed)...
| Really, any thing I want? So there are no magic tricks?
| --
| Dedicated Virtual Assistant at http://www.world-wide-virtual.us
|
|
| "Crash Gordon®" wrote:
|
| > You will probably get a nicer looking page if you used FP to create it...yes you can do it if the host allows, just name it per their instructions. Put whatever you want on it...its really just a page.
| >
| >
| > "Damzish" <(E-Mail Removed)> wrote in message news1F6184C-7D11-42C6-B18B-(E-Mail Removed)...
| > | 1. Any tips on getting a custom 404 page going?
| > |
| > | The site in question is on an Apache server and the host provides a script editor to create custom error pages.
| > |
| > | 2 Should I build the page using FP03 and then insert that code into the provided file?
| > |
| > | The next logical question for this newbie is what are the elements of say a 404 page that will need to be included and does FP offer script for this?
| > |
| > | Please answer questions 1 and 2 first !!! Thanks for any suggestions.
| > |
| > | Damzish
| > |
| > |
| > | --
| > | Dedicated Virtual Assistant at http://www.world-wide-virtual.us
| >
 
Reply With Quote
 
Tom Pepper Willett
Guest
Posts: n/a
 
      2nd Jul 2004
Of course, if they came from a search engine, or a link from another site,
they won't get to your site if you tell them to use the back button. It's a
good idea to have a link to your home page on the error pages.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/off...tid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/fron...o/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/und...ing/frontpage/
===
"Crash Gordon®" <ask_for_my_email@I'm_sick_of_spamandviruses.com> wrote in
message news:%(E-Mail Removed)...
As far as I know. My current host doesn't allow custom error pages, but my
last one did. I made them look exactly like a regular page of the web only
it said...

Oops! You've been 404'd, please use your back button to return from whence
you came...


"Damzish" <(E-Mail Removed)> wrote in message
news:87081EA6-BD77-4551-A0C5-(E-Mail Removed)...
| Really, any thing I want? So there are no magic tricks?
| --
| Dedicated Virtual Assistant at http://www.world-wide-virtual.us
|
|
| "Crash Gordon®" wrote:
|
| > You will probably get a nicer looking page if you used FP to create
it...yes you can do it if the host allows, just name it per their
instructions. Put whatever you want on it...its really just a page.
| >
| >
| > "Damzish" <(E-Mail Removed)> wrote in message
news1F6184C-7D11-42C6-B18B-(E-Mail Removed)...
| > | 1. Any tips on getting a custom 404 page going?
| > |
| > | The site in question is on an Apache server and the host provides a
script editor to create custom error pages.
| > |
| > | 2 Should I build the page using FP03 and then insert that code into
the provided file?
| > |
| > | The next logical question for this newbie is what are the elements of
say a 404 page that will need to be included and does FP offer script for
this?
| > |
| > | Please answer questions 1 and 2 first !!! Thanks for any suggestions.
| > |
| > | Damzish
| > |
| > |
| > | --
| > | Dedicated Virtual Assistant at http://www.world-wide-virtual.us
| >


 
Reply With Quote
 
=?Utf-8?B?RGFtemlzaA==?=
Guest
Posts: n/a
 
      2nd Jul 2004
Still here just listening to the posts as they come in...
--
Dedicated Virtual Assistant at http://www.world-wide-virtual.us


"Tom Pepper Willett" wrote:

> Of course, if they came from a search engine, or a link from another site,
> they won't get to your site if you tell them to use the back button. It's a
> good idea to have a link to your home page on the error pages.
> --
> ===
> Tom "Pepper" Willett
> Microsoft MVP - FrontPage
> ---
> About FrontPage 2003:
> http://office.microsoft.com/home/off...tid=FX01085802
> FrontPage 2003 Product Information:
> http://www.microsoft.com/office/fron...o/default.mspx
> Understanding FrontPage:
> http://msdn.microsoft.com/office/und...ing/frontpage/
> ===
> "Crash Gordon®" <ask_for_my_email@I'm_sick_of_spamandviruses.com> wrote in
> message news:%(E-Mail Removed)...
> As far as I know. My current host doesn't allow custom error pages, but my
> last one did. I made them look exactly like a regular page of the web only
> it said...
>
> Oops! You've been 404'd, please use your back button to return from whence
> you came...
>
>
> "Damzish" <(E-Mail Removed)> wrote in message
> news:87081EA6-BD77-4551-A0C5-(E-Mail Removed)...
> | Really, any thing I want? So there are no magic tricks?
> | --
> | Dedicated Virtual Assistant at http://www.world-wide-virtual.us
> |
> |
> | "Crash Gordon®" wrote:
> |
> | > You will probably get a nicer looking page if you used FP to create
> it...yes you can do it if the host allows, just name it per their
> instructions. Put whatever you want on it...its really just a page.
> | >
> | >
> | > "Damzish" <(E-Mail Removed)> wrote in message
> news1F6184C-7D11-42C6-B18B-(E-Mail Removed)...
> | > | 1. Any tips on getting a custom 404 page going?
> | > |
> | > | The site in question is on an Apache server and the host provides a
> script editor to create custom error pages.
> | > |
> | > | 2 Should I build the page using FP03 and then insert that code into
> the provided file?
> | > |
> | > | The next logical question for this newbie is what are the elements of
> say a 404 page that will need to be included and does FP offer script for
> this?
> | > |
> | > | Please answer questions 1 and 2 first !!! Thanks for any suggestions.
> | > |
> | > | Damzish
> | > |
> | > |
> | > | --
> | > | Dedicated Virtual Assistant at http://www.world-wide-virtual.us
> | >
>
>
>

 
Reply With Quote
 
Steve Easton
Guest
Posts: n/a
 
      2nd Jul 2004
Use your hosts "web interface" ( sometimes called Control Panel ) to actually create and activate
the original custom error page.
Then open the live site in FrontPage and edit the newly created custom error page which will be
named 404.shtml

Or:

Create the page in the root of your local web and save it with the file name 404.shtml
Then publish it and then open the hosts web interface and activate it.

A custom error page can have anything on it that you desire.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

"Damzish" <(E-Mail Removed)> wrote in message
news1F6184C-7D11-42C6-B18B-(E-Mail Removed)...
> 1. Any tips on getting a custom 404 page going?
>
> The site in question is on an Apache server and the host provides a script editor to create custom

error pages.
>
> 2 Should I build the page using FP03 and then insert that code into the provided file?
>
> The next logical question for this newbie is what are the elements of say a 404 page that will

need to be included and does FP offer script for this?
>
> Please answer questions 1 and 2 first !!! Thanks for any suggestions.
>
> Damzish
>
>
> --
> Dedicated Virtual Assistant at http://www.world-wide-virtual.us



 
Reply With Quote
 
=?iso-8859-1?Q?Crash_Gordon=AE?=
Guest
Posts: n/a
 
      2nd Jul 2004
troo enough.


"Tom Pepper Willett" <(E-Mail Removed)> wrote in message news:%(E-Mail Removed)...
| Of course, if they came from a search engine, or a link from another site,
| they won't get to your site if you tell them to use the back button. It's a
| good idea to have a link to your home page on the error pages.
| --
| ===
| Tom "Pepper" Willett
| Microsoft MVP - FrontPage
| ---
| About FrontPage 2003:
| http://office.microsoft.com/home/off...tid=FX01085802
| FrontPage 2003 Product Information:
| http://www.microsoft.com/office/fron...o/default.mspx
| Understanding FrontPage:
| http://msdn.microsoft.com/office/und...ing/frontpage/
| ===
| "Crash Gordon®" <ask_for_my_email@I'm_sick_of_spamandviruses.com> wrote in
| message news:%(E-Mail Removed)...
| As far as I know. My current host doesn't allow custom error pages, but my
| last one did. I made them look exactly like a regular page of the web only
| it said...
|
| Oops! You've been 404'd, please use your back button to return from whence
| you came...
|
|
| "Damzish" <(E-Mail Removed)> wrote in message
| news:87081EA6-BD77-4551-A0C5-(E-Mail Removed)...
| | Really, any thing I want? So there are no magic tricks?
| | --
| | Dedicated Virtual Assistant at http://www.world-wide-virtual.us
| |
| |
| | "Crash Gordon®" wrote:
| |
| | > You will probably get a nicer looking page if you used FP to create
| it...yes you can do it if the host allows, just name it per their
| instructions. Put whatever you want on it...its really just a page.
| | >
| | >
| | > "Damzish" <(E-Mail Removed)> wrote in message
| news1F6184C-7D11-42C6-B18B-(E-Mail Removed)...
| | > | 1. Any tips on getting a custom 404 page going?
| | > |
| | > | The site in question is on an Apache server and the host provides a
| script editor to create custom error pages.
| | > |
| | > | 2 Should I build the page using FP03 and then insert that code into
| the provided file?
| | > |
| | > | The next logical question for this newbie is what are the elements of
| say a 404 page that will need to be included and does FP offer script for
| this?
| | > |
| | > | Please answer questions 1 and 2 first !!! Thanks for any suggestions.
| | > |
| | > | Damzish
| | > |
| | > |
| | > | --
| | > | Dedicated Virtual Assistant at http://www.world-wide-virtual.us
| | >
|
|
 
Reply With Quote
 
David Baxter
Guest
Posts: n/a
 
      3rd Jul 2004
Suggestion: Put links to a sitemap and a search on the custom error page

See http://www.psychlinks.ca/error.htm as an example.

Then, if can create an .htaccess file in the root of your site, add this
line:

ErrorDocument 404 /error.htm (or whatever you want to name your error
page)



"Damzish" <(E-Mail Removed)> wrote in message
news1F6184C-7D11-42C6-B18B-(E-Mail Removed)...
> 1. Any tips on getting a custom 404 page going?
>
> The site in question is on an Apache server and the host provides a

script editor to create custom error pages.
>
> 2 Should I build the page using FP03 and then insert that code into

the provided file?
>
> The next logical question for this newbie is what are the elements of

say a 404 page that will need to be included and does FP offer script
for this?
>
> Please answer questions 1 and 2 first !!! Thanks for any suggestions.
>
> Damzish
>
>
> --
> Dedicated Virtual Assistant at http://www.world-wide-virtual.us




 
Reply With Quote
 
Andrew Murray
Guest
Posts: n/a
 
      3rd Jul 2004
You need to create a text file with this line in it. (use notepad):

Type this line:

ErrorDocument 404 http://www.pathtoyoursite.com/404.html


Save the file as "Other File type" (not as *.txt) and type in ".htaccess"

This file needs to be saved as ".htaccess" (that is "fullstophtaccess"). The
"404.html" file can be anything you design - to fit your site or whatever -
nothing special about it.

All the .htaccess file is doing is whever there is an error encountered the
server looks for this file and then goes to the page for the error encountered

You can do the same for any of the other unix error codes such as 501, 500, 503,
403, 400 - they each have a specific 'error' like 403 - Forbidden for example
using the same format as above and use the equivalent error code for each line,
and include a separate HTML document for each error message.

Put the .htaccess file and the 404.html in the same folder. When someone requests
a page that ends up not being found, the server will load your error page rather
than the default error.

Search google for "htaccess" for further information



"Damzish" <(E-Mail Removed)> wrote in message
news1F6184C-7D11-42C6-B18B-(E-Mail Removed)...
> 1. Any tips on getting a custom 404 page going?
>
> The site in question is on an Apache server and the host provides a script

editor to create custom error pages.
>
> 2 Should I build the page using FP03 and then insert that code into the

provided file?
>
> The next logical question for this newbie is what are the elements of say a

404 page that will need to be included and does FP offer script for this?
>
> Please answer questions 1 and 2 first !!! Thanks for any suggestions.
>
> Damzish
>
>
> --
> Dedicated Virtual Assistant at http://www.world-wide-virtual.us



 
Reply With Quote
 
Ronx
Guest
Posts: n/a
 
      3rd Jul 2004
The .htaccess file must go into the root folder of the web, else it will
only work for the folder it is in, and subfolders.
There may already be a .htaccess in the web root folder - this is used by
FrontPage and if overwritten by your file, may disable the web totally.

Ron
--
Reply only to group - emails will be deleted unread.


"Andrew Murray" <(E-Mail Removed)> wrote in message
news:40e61320$0$24769$(E-Mail Removed)...
> You need to create a text file with this line in it. (use notepad):
>
> Type this line:
>
> ErrorDocument 404 http://www.pathtoyoursite.com/404.html
>
>
> Save the file as "Other File type" (not as *.txt) and type in ".htaccess"
>
> This file needs to be saved as ".htaccess" (that is "fullstophtaccess").

The
> "404.html" file can be anything you design - to fit your site or

whatever -
> nothing special about it.
>
> All the .htaccess file is doing is whever there is an error encountered

the
> server looks for this file and then goes to the page for the error

encountered
>
> You can do the same for any of the other unix error codes such as 501,

500, 503,
> 403, 400 - they each have a specific 'error' like 403 - Forbidden for

example
> using the same format as above and use the equivalent error code for each

line,
> and include a separate HTML document for each error message.
>
> Put the .htaccess file and the 404.html in the same folder. When someone

requests
> a page that ends up not being found, the server will load your error page

rather
> than the default error.
>
> Search google for "htaccess" for further information
>
>
>
> "Damzish" <(E-Mail Removed)> wrote in message
> news1F6184C-7D11-42C6-B18B-(E-Mail Removed)...
> > 1. Any tips on getting a custom 404 page going?
> >
> > The site in question is on an Apache server and the host provides a

script
> editor to create custom error pages.
> >
> > 2 Should I build the page using FP03 and then insert that code into the

> provided file?
> >
> > The next logical question for this newbie is what are the elements of

say a
> 404 page that will need to be included and does FP offer script for this?
> >
> > Please answer questions 1 and 2 first !!! Thanks for any suggestions.
> >
> > Damzish
> >
> >
> > --
> > Dedicated Virtual Assistant at http://www.world-wide-virtual.us

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Membership Security 403 - how to direct to Custom page instead of Login page jobs Microsoft ASP .NET 4 24th Jun 2007 04:42 PM
Front Page Navigation View and custom nav bars on main page DSG Microsoft Frontpage 4 20th Aug 2006 08:07 PM
Issues with navigating to previous page and keeping custom page properties available Greg Krzeszkowski Microsoft ASP .NET 3 3rd Mar 2005 04:59 PM
opening custom custom page from contacts news tpg Microsoft Outlook Discussion 1 19th Jul 2004 08:41 PM
Custom Page Class - Parse Controls? Chain to Base Page? Jeremy Microsoft ASP .NET 0 23rd Jun 2004 04:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:56 AM.