Rank: Member
Joined: 5/10/2007(UTC) Posts: 29
|
I'm looking to create a 404 page for my theme, but I'm really not sure how to go about it. Anyone? |
|
|
|
|
Rank: Member
Joined: 9/27/2004(UTC) Posts: 1,099
|
Hello Matthew. Open your "web.config" and locate the following: Code:
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> <error statusCode="403" redirect="NoAccess.htm"/> <error statusCode="404" redirect="FileNotFound.htm"/> </customErrors>
Change the "FileNotFound.htm" to whatever file you have created. |
|
|
|
|
Rank: Member
Joined: 5/10/2007(UTC) Posts: 29
|
Thanks for the info Nick. I'm a bit lost here as I'm new to microsoft content.
SO can I create a 404.aspx or some such animal that will have my header, footer & system service column but have a "404" type message in the main content? |
|
|
|
|
Rank: Member
Joined: 9/27/2004(UTC) Posts: 1,099
|
Hey Matthew. Correct. Some sites direct users to a modified site map that explains the page they were looking for cannot be found. This article might help: http://www.15seconds.com/issue/030102.htmLocate "Using the web.config File" |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.