Developer forum

Forum » CMS - Standard features » Redirects do not work for two websites at once

Redirects do not work for two websites at once

Roald Haahr Jensen
Reply

Hi,

On a project we need to set up redirects for the Danish site and the Norwegian equivalent. In some of these cases the same relative url should be redirected.

Example

http://example.dk/foo/bar should redirect to http://example.dk/foo/baz
http://example.no/foo/bar should redirect to http://example.no/foo/baz

When trying to set up the second rule for /foo/bar it returns an error saying 'The path already exists', even though different websites are selected for the two rules.

 

Is there a workaround for this without having to go into the web.config or IIS.

There are a similar requests on 'Advanced URL redirects' and 'Redirects using friendly URL'.

Best regards,
Roald, Novicell


Replies

 
Nicolai Pedersen
Reply

What version?

I can do it on my solution - see dump.

Capture.JPG
 
Kim Hansen
Reply

Answering for Roald :)

9.6.14

 
Nicolai Pedersen
Reply

Then you know the answer...?

 
Roald Haahr Jensen
Reply

What Kim tried to say is that the version of the project is 9.6.14. :)

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Roald,

I believe Nicolai tries to say that you will need to upgrade :)

Adrian

 
Nicolai Pedersen
Reply

Or I can magically change the exsting code base of that installation using my jedi powers...

 

You must be logged in to post in the forum