Rewrite or redirect subdomain to subdirectory

I’m looking for the best way to rewrite
fr. exemple .com
to www. exemple .com/?hl=fr
or: ar. exemple .com → www. exemple .com/?hl=ar
for multi languages website, using page rules.
I know how to it with .htaccess but since I’m using “Blogger CMS” it’s not possible.
Thank You

May I ask if it should follow the path or not? :thinking:
Like, if it should follow the URL from the old fr.example.com/some-article/ to the new www.example.com/some-article?hl=fr?

If yes, then:

Helpful articles:

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.