View Full Version : url rewrite rule for fb comment

12 Oct 2012, 08:03 AM

I have a website and set a facebook comment box on some pages. The comment box itself is working fine but when a visitor comments on it and on his fb wall, the link to the website page of the posted comment leads to an error page. I guess it because of the comment box automatically adds parameters.

e.g. Comment box on a page http://www.example.com/example1/page1/ will changed into http://www.example.com/example/page1...46346461536131 which is obviously not existed.
Some of the pages have .aspx at the end of url for some reason, then the fb comment link (http://www.example.com/example2/page...wfw46546846354) works fine.

I reckon what I can do is to set up url rewrite rule on IIS but following rule I made not working:
pattern> (.*)\?fb_comment_id
url> {R:1}
Can someone help me to solve this issue please?


los angeles hvac (http://www.temp-control.com)
los angeles heating and air conditioning (http://www.temp-control.com)