Previous Code Entry
Left Arrow
Using a Colon in your URL can be done with IIS URL Rewrite
Current Code Entry
Go Back To Code List
Using a comma in your URL can be done with IIS URL Rewrite
Article Entry Date: February 20,2023 @ 04:11:13 / Last Updated On: February 20,2023 @ 04:15:43
The following error will occur when you have a Comma (,) in your URL.

IIS 10 ASP.NET Error wrote:
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Detailed Error Information:
Module     IIS Web Core
Notification     MapRequestHandler
Handler     StaticFile
Error Code     0x80070002
Requested URL     https://.com:443/AlbumT/35,18/1
Physical Path     G:\inetpub\wwwroot\.com\AlbumT\35,18\1
Logon Method     Anonymous
Logon User     Anonymous
Request Tracing Directory

To use a comma in your IIS Website URL, you must have the URL Rewrite module installed on the IIS Server and running on the website.
The following code will allow your website to run with a comma.

Inside your Wb.Config file, add the following.

(Change the MainName to the name of your Structure.
Example: Site.aspx?Main.aspx&Date=Jan_30,_1973&Page=My_Birthdate
MainName = Folder)

In the URL Rewrite, we can create a pattern that allows certain characters to be allowed in the URL
The below example allows the comma in the URL String.
The full pattern is this. (This is what is used here on CFFCS.COM.)
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«