Hooking the url when presenting a link from blocks
Permalink
Hi,
Lets say that this is my structure:
If I will create a link in the content block (for example) it will be rendered to be:
/en/page1
or
/ru/page2
Is there anyway that I can hook the link before the presentation and remove the prefix /ru ?
I am using the domain mapper add-on so if I map the site to be:
http://www.mydomain.ru/page1 , but now it ishttp://www.mydomain.ru/ru/page1 (with extra ru)
Hope you got me.
Thanks
Lets say that this is my structure:
en page1 page2 ru page1 page2
If I will create a link in the content block (for example) it will be rendered to be:
/en/page1
or
/ru/page2
Is there anyway that I can hook the link before the presentation and remove the prefix /ru ?
I am using the domain mapper add-on so if I map the site to be:
http://www.mydomain.ru/page1 , but now it ishttp://www.mydomain.ru/ru/page1 (with extra ru)
Hope you got me.
Thanks