cancel
Showing results for 
Search instead for 
Did you mean: 

multi store view on multi website

multi store view on multi website

Hi every one !

 i have faced the following problem on my magento 2 setup and didn't find any useful topics on it online , so here it is :

 i have a multi website configuration on a single magento installation  and for each website i have 2 different store views for en and fr languages :

 https://website1/store1/en

 https://website1/store1/fr

 https://website2/store2/en

 https://website2/store2/fr

 the problem here is that i want to use the en & fr code  for my views  

but  it doesn't allow me to use the same code  for my 2 different websites and if i want to add some prefix every time my url would be tooooo long and not seo friendly nor optimized,

 so any suggestions on how i can deal with this proble ?

 are there any ways i can rewrite the rules for magento  so it would allow me to use the same  code twice ?