Custom Error Page

  • Thread starter Thread starter JW
  • Start date Start date
J

JW

I'm using FP2000 with FP extensions installed on the server. I'm managing a
website that has frequent page additions and deletions, and the site could
really benefit from a custom 404 page. My server's knowledgebase has
instructions for creating a custom error page by editing the .htaccess file,
but warns against doing so when using FP, since this will corrupt the
configuration files. Can anyone suggest another approach or a workaround
that will allow me to have a custom 404 page? Thanks for your help.
JW
 
You can edit the .htaccess file, but you MUST leave all the FrontPage
stuff at the top.
The code for the 404 error and/or 301 redirection should be added at the
end of the existing code.
 
Additionally, the edited file must be uploaded as a text (ASCII) file -
FrontPage and some FTP clients will upload .htaccess as a binary which
will corrupt the file. .htaccess must be added to list of text files in
the configuration dialogues.
For FP2003, add htaccess to Tools->Options - FTP tab.
 
Back
Top