Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Wanted to know if there's a way to get all the possible URLs for a node. I'm trying to allow 2 "sites" (e.g. example.com/uk and example.com/us) to use the same content, news for example, without losing the site path (e.g example.com/uk/news and example.com/us/news). I added the hostnames and it works well but if I try and get the url from the node it just returns the first URL in the info section (e.g. example.com/uk/news).
I wanted to get the full list so I can choose which one to display.
Any help is much appreciated :)
I achieved this using regex to replace the country part of the URL :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted