I have installed i18n module so two languages Japanese and English are available. I have set Japanese to the default language and also "language Language negotiation" to "path prefix only". So all the URL without language prefix show the Japanese pages and English pages with the prefix of "en".
What I want to do is to redirect some of URL with prefix to the same URL without prefix as I need to make some of the pages available only in Japanese. For example, when a user is trying to view
my-site.com/en/cart the user is automatically redirected to
my-site.com/cart as I want to make the
I have tried path redirect but the redirect doesn't work though I set two cases as below
"Language" to "All languages " ,"From" to "my-site.com/en/cart" and "To" to "my-site.com/cart".
"Language" to "English" ,"From" to "my-site.com/en/cart" and "To" to "my-site.com/cart".