Gibe / Umbraco-Link-Picker

Link picker property editor for Umbraco 7
12 stars 10 forks source link

Link to not include domain name #6

Open richardadc opened 9 years ago

richardadc commented 9 years ago

My umbraco site has been setup to include multiple domain names. When selecting content nodes within the Link Picker the URL stored includes the domain name. As the site uses multiple domains this feature is causing us problems. Is there anyway this can be amended so only the URL excluding the domain name is stored?

karltynan commented 9 years ago

You could use the node ID that is stored instead.

On 2 Oct 2015, at 05:03, richardadc notifications@github.com wrote:

My umbraco site has been setup to include multiple domain names. When selecting content nodes within the Link Picker the URL stored includes the domain name. As the site uses multiple domains this feature is causing us problems. Is there anyway this can be amended so only the URL excluding the domain name is stored?

— Reply to this email directly or view it on GitHub.

richardadc commented 9 years ago

Thanks for the suggestion but that won't solve the issue with the wrong domain being displayed on the CMS side of things. Is this something you plan to fix in the immediate future?

stevetemple commented 9 years ago

It's worth adding that the URLs aren't unique between domain names, so if you have 2 sections of your site each with a different URL the url for news/article-1 for domain A will be the same for news/article-1 in domain B apart from the domain name