Developer forum

Forum » Templates » Redirect and IE

Redirect and IE

Rune Skovbo
Reply
Hi people

I have added a redirect parameter to a link and it all works well in Firefox and Chrome, but not in IE.

The page can be seen her: http://rask-cykler.net.dynamicweb-cms.com/Rask-cykler/Cykler/Cube-Limited-Race.aspx

The redirect happens when you put a product in the cart. The redirect points to the current URL but with #showRelated prefixed.

If however I change the redirect to http://www.dr.dk , it works fine in IE.

Any pointers as to how I get the prefix to work in IE?

/Rune


Replies

 
Morten Bengtson
Reply
This post has been marked as an answer
When you pass an url as querystring parameter, you need to url encode it, like this...

&Redirect=%2fRask-cykler%2fCykler%2fCube-Limited-Race.aspx%23showRelated

Votes for this answer: 0
 
Rune Skovbo
Reply
Thanks!

The "%23" instead of "#" did the trick.

/Rune

 

You must be logged in to post in the forum