Developer forum

Forum » CMS - Standard features » Use in URL in website settings does not allow more than one extra part

Use in URL in website settings does not allow more than one extra part

Roald Haahr
Reply

Hi

For simplicity's sake I'll give a quick example:

Say I want to set up three different sites with the domain exampleshop.com

 

 

Now, as the main site is in Danish, we decide to include the culture code in the URL. The new URLs should be

 

 

As there are also other sites on the solution that should not include culture code in the URL, the setting cannot be globla, so we decide to use 'Use in URL' on each website. It turns out it only supports one extra part in the URL, so writing two extra parts causes problems, as the dividing slash in the relative URL is replaced with a dash. Is there a way to include two extra extra parts resulting in the URLs

 

 

See image below from website settings, where the dividing slash in the relative URL is replaced with a dash. Is there a way to include two extra extra parts 

 

Kind regards

Roald

 


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Yes, that is a limitation - I have no workaround for that.

You can do this though:

But it is a bit clunky.

Alternatively you can set the exact URL for all the rootpages in the b2b and b2c area like this:

But probably also not a very good idea.

Votes for this answer: 1
 
Roald Haahr
Reply

Alright, thanks for the quick reply :)

 

You must be logged in to post in the forum