I have an existing website that I didn’t name myself.
It just got an auto-generated name: heuristic-torvalds-3c6c99.
The problem is that this is also the site’s URL: heuristic-torvalds-3c6c99.netlify.app
What happens when I rename this site?
I guess the URL will also change?
Will the old URL automatically redirect to the new one?
Or do I have to configure that myself?
Is that even possible?
Hi @johanvanmol , welcome to the forums and thank you so much for reaching out.
Yes, if you rename the site in Netlify, the site’s URL will also change.
Unfortunately, the old URL (heuristic-torvalds-3c6c99.netlify.app) will not automatically redirect to the new one. This is because the URL is tied to the site’s name, and changing the name changes the URL. As a result, visitors who try to access the old URL will receive a “Page not found” error. You will need to manually set up a redirect rule from your old URL to your new site.
Here is a super helpful guide for redirects to help you set this up!