on 08-01-2018 11:27 PM
Hello,
Currently I have this url pattern to support multi country for B2c store front..
https://localhost:9002/b2c/US/en/
storefrontcontextroot defined as /b2c. How do remove b2c from the URL? I want to my url to support multi country without b2c part of url. I tried playing with URL pattern and it didn't work..
Thanks in advance.
Use the following: {customstorefront}.webroot=/shop storefrontContextRoot=/shop
and add language in the urlencodingAttributes on the site
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Currently I have this url pattern to support multi country for B2c store front..
I want URL like this -> https://localhost:9002/shop/en_GB/
So can u please tell me, how to do it?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your quick response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi SasiReddy
for example your storefront extension is xyzstorefront. Have a property in your local.properties file
xyzstorefront.webroot=
make sure you keep the value as blank. Once you do, run an ant clean all, check the following file
platform/tomcat/conf/server.xml
and check if you see the following line
<Context path="/"
If you do, you are all set, just change the storefront URL pattern from backoffice and you are ready to go. Let me know if you need more help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.