c# - site will not redirect to custome page and throw 404 error in asp.net site -


i don't know question asked or not. stuck in 1 problem.

i have 1 cms application in page static , dynamic.

when access url using http://abc.com/abc.aspx

now in case if abc.aspx cms page redirect me page if not cms page redirect me custom page http://abc.com/page-not-found.aspx

now question if write http://abc.com/abc didn't redirect me http://abc.com/page-not-found.aspx throw me error 404 page or directory not found.

now have check 2 things

1) if custome page not there display http://abc.com/page-not-found.aspx

2) when http://abc.com/page redirect me http://abc.com/page-not-found.aspx

please me our this. work fine in local problem in live environment.

thanks in advance.

regards ab vyas

you may need handlers in web.config .

http://msdn.microsoft.com/en-us/library/46c5ddfy(v=vs.100).aspx


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -