Netlify rewrite with status 200

So have deployed a domain //banbanmedia.co and also an alias //banbanmedia.fi/.
currently, the content for //banbanmedia.fi/ is available at //banbanmedia.fi/fi but one of my clients wants to render on .fi/ instead of .fi/fi/*

I have updated my redirect file to follow:
https://banbanmedia.fi https://banbanmedia.fi/fi 200

so the URL will remain same //.fi but under the hood, content is served from .fi/fi, but according to docs, the link should not exist, otherwise it will not redirect except if u changed the status code to 200!, but it will change the URL as well from .fi/* to /fi/fi*.

I am looking for something to remain the URL constant and under the hood, it served different URLs , even the links exist.

Hey! I’ve navigated to https://banbanmedia.fi and it appears to be serving content similar to the .co site. I presume you have this working now?

Alternatively, why not configure your base directory to be / and not /fi?

1 Like