This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Query string issue
Author
Message |
ballmatic
Newbie


Joined: 30 January 2007
Posts: 20
Posted: 04 January 2011 at 2:08pm

Hello,

Our website has an RSS feed that worked perfectly. Now, Google FeedBurner sends additional information that messes things up. Here is the original URL:
http://www.domain.com/about/news/278/New_title/

So we used:
RewriteRule /about/news/([\d]*)/([^/]+)/ /document/?newsid=$1 [I,L]

This worked perfectly. Now, the URL looks like this:
http://www.domain.com/about/news/278/News_title?utm_source=feedburner&utm_medium=feed&utm_content=Google+Reader

We don't really need to parse that content. We just need the thing to not 404. Thanks!!!
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 05 January 2011 at 3:33am

Please try the following config:

RewriteRule /about/news/(\d+)/[^/?]+/ /document/\?newsid=$1 [I,L]

P.S. Hope you are asking it for ISAPI_Rewrite2...

__________________
Regards,
Anton
Back to Top
 
ballmatic
Newbie


Joined: 30 January 2007
Posts: 20
Posted: 05 January 2011 at 11:27pm

This isn't working. And yes, ISAPI_Rewrite2 is what we've been using.
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 06 January 2011 at 2:48am

Ok, let's try it like this:

RewriteRule /about/news/(\d+)/[^?]+(?:\?.*)? /document/\?newsid=$1 [I,L]

__________________
Regards,
Anton
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum