Search
Other Articles Anywhere questions
Forum

Link is not parsed anymore after go live

Seppi's Avatar Seppi
On a multilingual site in YoothemPro we need to work with URLA in order to always get the right link to the page according to the chosen language. The whole multilingual thing is still a bit tricky in YTP if you want to reduce your YTP templates, but this does not matter right now.

However, since we store both articles in both languages in one category (ID 39), article anywhere gives (gave so far) us the possibility to simply get the URLA of the currently loaded site dynamically by using this code, which allowed us to pick the right site dynamically. We used this code:

{article category="39"}[urla]{/article}

So the currently loaded site used the link in URLA , regardless of the currently active language («just load the URLA form the current article out of category 39»).

Since we switched live (meaning switching from an absolute path to the real domain), the link seems not to be parsed anymore. We get something like this instead:

mydomain.ch/en/%3C!--%20START:%20Article...s%20Anywhere%20--%3E

We didn't change anything in YTP. In the URLA we switched - of course - from the absolute link / the driect link to the hosting providers server to the live domain link, now. It seems not to matter if we use the relative link or the absolute, the code is not parsed anymore.

Strange thing is, this article anywhere is still working in the link title ({article category="39"} [urlatext]{/article}) and the object title ({article category="39"}<h4 class="el-title uk-card-title uk-margin-remove-top uk-margin-remove-bottom">[title]</h4>{/article})

So something must happened with the switch to the live domain, but we can't figure out, what impact this has on the articles anywhere shortcode.

Since we are live now, the matter is rather urgent. We appreciate any hint from your side. Thanks very much in advance!
Peter van Westen's Avatar Peter van Westen ADMIN
Articles Anywhere simply outputs the contents of that urla field.
How Joomla (or other plugins) converts that to a SEF URL is completely outside the control of Articles Anywhere.
In other words, I can't help you much with this.

Give this a read, though:
See: regularlabs.com/blog/242-plugin-order-is-important
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription