Lovable: Primary Domain Redirects Are Now Permanent
Lovable now sends a 301 permanent redirect from a project's other connected domains and its lovable.app address to the primary domain. Requests that carry data, such as form submissions, get a 307 temporary redirect so the data is preserved. This helps search engines consolidate on one address.
Key Takeaways
- Other connected domains and the lovable.app address now get a 301 permanent redirect to the primary domain.
- Requests that carry data, such as forms, get a 307 temporary redirect so the payload survives.
- Plain http requests redirect to https, so visitors land on the secure primary address.
- Browsers recheck the redirect on every visit, so primary domain changes reach returning visitors.
- The first custom domain added after October 29, 2025 becomes primary automatically.
- After changing the primary domain, builders should rerun the SEO review and allow time for recrawling.
Permanent Redirects to the Primary Domain
A primary domain is the address visitors use for a Lovable project, and other connected addresses redirect to it. With this update, those redirects are permanent. Page visits to the project's other connected domains and to its lovable.app address receive a 301 redirect to the primary domain. Requests that carry data, such as form submissions, receive a 307 temporary redirect so the submitted data is preserved.
How It Works
Plain http:// requests redirect to https://. On the serving address this is a 301 to the same page over HTTPS, and on other addresses it goes straight to the HTTPS primary domain. Browsers recheck the redirect on every visit instead of caching it, so returning visitors follow later changes to the primary domain.
Setting the Primary Domain
Builders open More, then Domains, use the three dots menu next to a domain and select Set as primary. It can be set while a domain is still connecting, and unset from the same menu, after which all connected domains serve the project equally. For domains added after October 29, 2025, the first custom domain bought or connected becomes primary automatically, while later domains must be set manually.
Things to Know
Search engines pick up a primary domain change only when they recrawl, so results can take time to update. After changing the primary domain, builders should rerun the SEO review so Lovable can recheck the new host.
Why It Matters
Permanent redirects tell search engines which address is canonical, which helps consolidate ranking signals and avoids duplicate-address confusion for projects with several domains.