I want to get my current page URL in one of my static blocks

How do I get that?


It worked for me

Add the following code in your static blocks suppose my page is abc.html, then add

{{store url="abc.html"}}

And if it is a category, then add

{{store url="Your category name"}}

It worked for me. You can also try


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.