Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bad url

Status
Not open for further replies.

DrStern

Programmer
Mar 28, 2003
53
US
Hi all,
Is there any solution for taking the uset to a "customized" error page in case they enter a wrong url within our site?
In other words, if the correct URL is and by mistake they enter the system should take them to an "error" page. Can that be accomplished by using the <cferror> tag?

In advance, thank you!

Dr. Stern
 
Someone correct me if I am wrong, but I do not think so. That would cause a 404 error, which would need to be handled by your server (such as IIS). In IIS you can make custom error pages for the different server errors (403, 404, 500, etc.)


Keith


The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents.
 
he's right, but like him i'm not sure how to do it. ask the forum for the webserver you're using. IIS, appache, etc...

Beware of programmers who carry screwdrivers.
 
Ok, I'll check that.
Thanks, guys!

Dr. Stern
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top