netlify redirect from subdomain to primary custom domain

Hello i have an issue with a subdomain / primary domain on my netlify site

Netlify documentation tells to use a netlify.toml file to make host domain redirects. but the nuxt build creates a _redircts for some nuxt specific logic. And this makes my netlify.toml ignored and wont work.

fx. https://<project-name>.netlify.app to my <primary-domain>.com

So when i go to https://<project-name>.netlify.app it still doenst redirect even if my toml file is in the right syntax.

have anyone encountered this? and do you know the fix?
Was this page helpful?