Add dynamic url of another site

Hello,

Can someone help me please. I am trying to add an url of another site in one site and make it ready to click on it.
I already have the site link/url in the database. When I try to display the url and click on it. It send me to the parent site not the actual site.
For example: I have www.domaine.com as the primary site.
I have www.domaine1.com in the database.
when I use the dmx-bind:href=“Website” to display the link and send it. It just redirect me to www.domaine.com/domaine1.com

For some reason, the path is not going exactly to another site.

Have you stored your URL with the https:// part?

No, I did not. Do you think that s the issue.

Yes, pretty sure that’s the problem :slight_smile:

1 Like

Thank you again for the 1000 times. The issue was definitely not putting https:// part with the rest of the domain.
Is there any way to change all domain.com and www.domain.com into https://www.domain.com when there are inserting the info in. And ignore the format if it already started with https://.
Or I have to force users to put the propre format url.

Hello Teo,

I hope it is not too much to bother.
I am trying to use this dynamic link I added to the part of the site.
However, it is not working but when I remove it and use the static url it works.
Let me explain it in the better way:
when I add a static url - I able to hover the link and click on it.
however, when I replace the static with the dynamic url:
The link is disable and it is not even showing the cursor on it anymore.
Do you have any idea about the reason and how I can fix this issue.

I fixed it. I did not add the dynamic data in the query before. That was the reason.