Jump to content

Get the current page URL Variable


zdcloud

Recommended Posts

  • 4 months later...
  • 4 months later...

Depending on what you want to do, these are options:

{$currentpagelinkback}
or
{$smarty.server.PHP_SELF}
or
{$smarty.server.REQUEST_URI}

For example, if adding it to the translate link, using {$smarty.server.REQUEST_URI} will create a loop for search engines, while {$smarty.server.PHP_SELF} does not.

Play with these and see what works best for you.

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated