Querystring or wildcard AFTER rewritten url
5 posts
• Page 1 of 1
- martinshoe
- Posts: 2
- Joined: 04 Oct 2013, 02:31
Querystring or wildcard AFTER rewritten url
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?
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?
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Querystring or wildcard AFTER rewritten url
Hello,
Having '*' is not wildcard yet, try using '.*' instead.
Pls, verify it is ISAPI_Rewrite2, not 3.
Regards
Andrew
Having '*' is not wildcard yet, try using '.*' instead.
Pls, verify it is ISAPI_Rewrite2, not 3.
Regards
Andrew
- frankunderwood5
- Posts: 1
- Joined: 23 Aug 2017, 08:24
- Location: New York, NY, United States
Re: Querystring or wildcard AFTER rewritten url
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!
Re: Querystring or wildcard AFTER rewritten url
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.
- LilyJacob123
- Posts: 1
- Joined: 27 Dec 2017, 06:42
Re: Querystring or wildcard AFTER rewritten url
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.
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests