Using a comma in your URL can be done with IIS URL Rewrite
Using a comma in your URL can be done with IIS URL RewriteArticle Entry Date: February 20,2023 @ 04:11:13 / Last Updated On: February 3,2024 @ 08:07:46
The following error will occur when you have a Comma (,) in your URL.
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 Web.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.) ([_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)