Query string issue after rewriting url rule in IIS management using user friendly URL

Arunachalam J 110 Reputation points
2023-12-28T12:44:57.3533333+00:00

Hi,

To get rid of the .aspx extension I was utilizing the User-friendly URL in IIS for the SharePoint server website, and after removing the .aspx from the site pages, everything was well until we got to the query string parameter in the URL, where we were filtering and retrieving certain data.

         For example, https://www.domain.com/SitePages/About-AMAF.aspx to https://www.domain.com/SitePages/About-AMAF is working properly;

However, when we rewrite https://www.domain.com/SitePages/Health.aspx?causeID=1 to https://www.domain.com/SitePages/Health/causeID/1, the content that we filter with the causeID 1 is not accurate. Please provide any suggestions or steps to resolve this issue.

Thank you ahead of time.

Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,726 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,229 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.