Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to direct to a custom error page?

In SharePoint,

I want to be able to direct to a custom error page if a 404 is reached.

However, after following:

How to point to a custom 404 error Web page in Windows SharePoint Services 3.0 or in Microsoft Office SharePoint Server 2007

I'm unable to hit my custom error page when trying for entries such as:

http://localhost/adsdasad or something erroneus.

Any ideas?

like image 735
LB. Avatar asked Dec 06 '25 17:12

LB.


1 Answers

Add a wildcard handler in IIS for such urls.

IIS configuration

like image 51
Chris Ballance Avatar answered Dec 08 '25 22:12

Chris Ballance



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!