Redirect from subdomain to subfolder for multiple languages

1 0 1


I am looking for a way to create redirects of my subdomains to my subfolders. 

I've created multiple subdomains with translated versions of the shop and changed these to subfolders, since I read this might be more beneficial for seo. 

The old situation:   |
Current situation:    |

The problem, some pages that belong to the subdomains have been indexed by google, which now, no longer excist. I want to create a redirect that works for all urls, products, collections, pages, etc. 

What would be the best way to do this? 

Replies 0 (0)