This forum has been moved here:
Helicon Tech Community Forum

ISAPI_Rewrite 3.0 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: Help with redirect with fragment section
Author
Message |
davex2cms
Newbie


Joined: 09 March 2010
Posts: 7
Posted: 01 March 2012 at 4:13pm

I am trying a redirect

RewriteRule ^$ /index.html#test [NC,R=301]

When I try this in a browser I always get

index.html%23test

Is there a way to keep # in the redirect to path without it being changed to %23?

Thank you.
Back to Top
 
HeliconA
Admin Group


Joined: 02 March 2012
Posts: 4142
Posted: 02 March 2012 at 4:49am

Hello,

Try using NE or NU flag, according documentation

Regards
Andrew
Back to Top
 
davex2cms
Newbie


Joined: 09 March 2010
Posts: 7
Posted: 02 March 2012 at 7:52am

NE flag fixed it, Thank you!
Back to Top
 

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

Printable version Printable version