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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top