Querystring or wildcard AFTER rewritten url

ISAPI_Rewrite is a powerful URL manipulation engine based on regular expressions
User avatar
Posts: 2
Joined: 04 Oct 2013, 02:31

Querystring or wildcard AFTER rewritten url

04 Oct 2013, 08:22

I use ISAPI REWRITE for clean urls and ik works great.
But now i have a small problem

I use this code:
RewriteRule ^/([^/]+)\.htm$ /content.asp?pagename=$1

The clean url is: PAGENAME.HTM


But since I use Facebook likeboxes on my site, this clean and rewritten url is used by facebook.
But the link back to my page from facebook has an extra querystring, after my clean url

For example:

PAGENAME.HTM?facebook_querystring

and thatthat link is not working.

I tried to solve this with an wildcard in the rule, but it's not working

RewriteRule ^/([^/]+)\.htm*$ /content.asp?pagename=$1


What should i do to make it work?

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Querystring or wildcard AFTER rewritten url

04 Oct 2013, 10:42

Hello,

Having '*' is not wildcard yet, try using '.*' instead.
Pls, verify it is ISAPI_Rewrite2, not 3.

Regards
Andrew

User avatar
Posts: 1
Joined: 23 Aug 2017, 08:24
Location: New York, NY, United States

Re: Querystring or wildcard AFTER rewritten url

23 Aug 2017, 11:47

HeliconAndrew wrote:Hello,

Having '*' is not wildcard yet, try using '.*' instead.
Pls, verify it is ISAPI_Rewrite2, not 3.

Regards
Andrew


Thx, it helped me! :)

User avatar
Posts: 1
Joined: 11 Sep 2017, 09:37

Re: Querystring or wildcard AFTER rewritten url

11 Sep 2017, 09:45

CVS knows how to take the best care of its people. Employees are the assets of a company. myhr cvs understand the true value of its employees. Perhaps, this is the reason myhr cvs myhr.cvs.com is ranked among the top companies of its kind. It employs best people and offers them the best benefits. There is a long list of benefits packages offered to myhrcvs members. myhr.cvs wants to help its employees achieve their health and fitness goals. This is why it offers cost-effective programs for employees.

User avatar
Posts: 1
Joined: 27 Dec 2017, 06:42

Re: Querystring or wildcard AFTER rewritten url

07 Jan 2020, 06:26

Profoundly qualified and affirmed specialists are accessible in our group that buckles down 24/7 and in any event, giving its boundless free correction administrations. On the off chance that you are a college understudy in the UK and searching for Do My Assignments US benefits at that point surge at [[https://www.thecasestudysolutions.com/case-study-help-online/ Case Study Help]] and ensure all your work is finished well.

Return to ISAPI_Rewrite 2.x

Who is online

Users browsing this forum: No registered users and 3 guests