Incomplete domain transfer on Netlify

Hello everyone,

My domain name is : juliefrancois.fr
My Netlify domain is : https://juliefrancois.netlify.app/

I am experiencing the following problem:

I hosted my wordpress portfolio put in static on Netlify, and tried to link my domain name with it.

In fact it is functional, the security certificate is in place too, but when you go to another page than the homepage, the link becomes the netlify one again, I don’t know how to deploy it otherwise so that the root remains my domain name (the links of some pages, especially the projects, are not functional because they are not absolute, I have to reconfigure them on the backoffice side)

I have four “Names Servers” available on Netlify but I do not know where to add them via OVH

Would someone be kind enough to help me?

Thanks in advance

Julie F.

Hi @JulieFrancois,

Thanks for reaching out and welcome to Netlify’s Support Forums!

Checking the dev tools, it appears that the .netlify.app site is hardcoded in the HTML:

For example, for the href above, you’ll want to use href="/projects/" instead of href="https://juliefrancois.netlify.app/projects/". Making that change, when you click on Projects in the top Navigation bar, the browser will go to https://juliefrancois.fr/projets/ instead of https://juliefrancois.netlify.app/projets/.

Hi @Melvin

Thank you for your detailed answer,

However I don’t really know how to solve this, the navbar my wordpress site is already configured with relative links as in your example, I don’t know when the netlify url is hard embedded.

Maybe it’s due to the fact that the site is transmitted to netlify in static?

Thanks in advance

Julie F.

Hi,

Would you try update the URLs in the navbar to use relative links instead of absolute links? You can do this by replacing the Netlify URL with (/) in front of the page path.

Hello,
Thank you for your answer, however my problem is here, the links of the navbar are already in relative, but the netlify root is set by default

The base Wordpress is hosted on pantheon.io, set to static and communicates with the Netlify hosting, I do not know if it is on this side that there is a conflict

Hi @JulieFrancois,

Thanks for the follow-up.

Check the deploy, I see it’s a manual deploy so no changes are being done by Netlify. You’ll need to find where the link is being hardcoded and as @SamO mentioned use relative links. Unfortunately, I don’t have any experience with the program you’re using, you may need to contact their support for help with finding where the .netlify.app links are being used.