Jump to content

Recommended Posts

I have what I would consider a pretty simple redirect. We have a series of promotion codes which all need to be redirected to our store. These work however we also have some affiliates who link banners to these urls along with a querystring parameter so we can (within the store) recognise where the link came from.

 

The rule I have:

 

RewriteRule ^(?:abc|brt|dbcc|ppc|dqu|arl)\??(.*)$          https://www.ourstore.com/Store/Jadehttp.dll?Store&$1 [R]

 

/abc etc etc all work fine and redirect as expected. However, appending a querystring such as /abc?foo=bar does not get passed along. Remember these are optional and may not always be present.

 

Any help would be greatly appreciated.

 

ps: This is actually being performed using isapi rewrite on IIS but it should be compatible with mod_rewrite.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.