Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > page re-direct to anchor on anther page View modes: 
User avatar
Member
Member
esolutions - 9/26/2013 1:01:22 PM
   
page re-direct to anchor on anther page
I have a few anchors on a page A. I'd like to set page B to re-direct to a specific anchor on page A.

Simple enough: Under page B's Properties > Navigation > Menu actions, I've selected "URL redirection" and typed in "~/PageA#anchor1".

So, then when I go to page B, it redirects me to

http://mywebsite.com/PageA/#anchor1

which is a broken link because it's added the forward slash to the URL.

Why does it add the "/" in the above URL? Is this possible to have page B redirect to an anchor on page A?

User avatar
Certified Developer 13
Certified Developer 13
kentico_josefd - 10/4/2013 8:59:00 PM
   
RE:page re-direct to anchor on anther page
Hello

Can you test using the link with .aspx, like this?

~/PageA.aspx#anchor1

Please let me know if it helps.

Regards,

Josef Dvorak