1

I have a static block in which content I have this code: <a href="/de/sale">something</a> The url of the project is dns/my_installation/..., so my point is that when I click on the block link it will direct me to dns/my_installation/de/sale, but instead it gives me error 404 and the url of the page looks like this: dns/de/sale, so basically the /my_installation/ part is cut off.

Any idea why would that happen?

1 Answer 1

2

Declare your url like this:

<a href="{{store _direct="de/sale"}}">something</a> 

If de is the code of your store and you selected to include store codes in the url then the link above should be

<a href="{{store _direct="sale"}}">something</a> 

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.