0

We have a static page created in which we have a bunch of links. The editor is appending the site uri automatically so it generates the wrong link.

For example: We type

<a href="{exp:transcribe:uri path='/'}">...</a>

then save it. It changes it to

<a href="http://www.xyz.com/{exp:transcribe:uri path='/'}">...</a>

The above of course generates the wrong url:

http://www.xyz.com/http://www.xyz.com/pt-br/

I am almost certain that it is a config issue but I have no idea what it is. I have searched and have found nothing.

Any insight would be greatly appreciated.

  • What kind of field is the textarea you're typing this into? – Derek Hogue Jul 15 '14 at 16:05
  • They are using the link button in the content editor. When I g and click on the html button to change it there, it still add the site uri after we save it. – user3353 Jul 16 '14 at 16:26
  • What kind of field is the content editor though? Rich Text? MarkItUp? Wygwam? Editor? – Derek Hogue Jul 16 '14 at 18:28
0

hope this still helps.

Use the uri tag either like this

<a href="{exp:transcribe:uri path='example'}">Example</a>

or

<a href="http://domain.tld/{transcribe:language_abbreviation}/{exp:transcribe:uri path='example' site_url='no'}">Example</a>

You'll need to check that the slashes are correct but the general idea is there.

| improve this answer | |

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.