Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: How to get current URL in custom skin template?

  1. #1
    maltschul is offline Junior Member
    Join Date
    May 2010
    Posts
    13

    Default How to get current URL in custom skin template?

    I've created a custom skin template for my products and in my header I want to list the fully qualified URL in a metatag for facebook like this:

    <meta property="og:url" content="(!PAGEURL!)" />

    However, th PAGEURL variable returns something like "showproduct.aspx/?productid=2&SEName=..... instead of the SEO rewritten url: http://www.cm4.com/shop/p-2-dsi-case...tendo-dsi.aspx

    How can I access this URL in my customtemplate.ascx file?

  2. #2
    RyanS is offline Junior Member
    Join Date
    Sep 2010
    Posts
    8

    Default (!INVOCATION!) Token

    Hi maltschul,

    Try using the (!INVOCATION!) token to get the seo friendly url.

    Ryan
    Vortx Inc.