store_url does not render link correctly
-
17-02-2021 - |
Question
I am using this link in my static CMS block
<a href="{{store_url='produkte/insektenschutz/fenster/spannrahmen.html'}}">
but it renders as https://www.mysite.de/produkte/insektenschutz/fenster/
Why is spannrahmen.html
cut off?
Solution
Add store direct_url
instead of store_url
<a href="{{store direct_url='produkte/insektenschutz/fenster/spannrahmen.html'}}">
spannrahmen.html
will show after this.
OTHER TIPS
Try adding this to your block:
<a href="{{store direct_url="produkte/insektenschutz/fenster/spannrahmen.html"}}">Link to Base URL</a>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange