Previous Code Entry
Left Arrow
Using a comma in your URL can be done with IIS URL Rewrite
Current Code Entry
Go Back To Code List
[Web.Config]
Using a period in your URL can be done with IIS URL Rewrite
Article Entry Date: February 3,2024 @ 08:05:14 / Last Updated On: February 3,2024 @ 08:08:07
A period is not allowed in a URL, but there is a work around using a URL Rewrite trick.
IIS 10 ASP.NET Error wrote:
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /BMTags/71/Randy_Piper_played_for_W.A.S.P./96

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2623.0


In the URL Rewrite, we can create a pattern that allows certain characters to be allowed in the URL
The below example allows the period in the URL String.
-.-
The full pattern is this. (This is what is used here on CFFCS.COM.)
([_0-9a-z-(-)-,-.-]+)
It is only being used in the [Date] column.
(This can be used throughout all columns and does not just have to be used in a designated column)


Other Articles Related to this Entry.

Using a colon in your URL can be done with IIS URL Rewrite«
Using a comma in your URL can be done with IIS URL Rewrite«