cancel
Showing results for 
Search instead for 
Did you mean: 

How can I hide storefront name in the browser URL

0 Kudos
437

I want to hide storefront name from the all URL's getting generated. My home page URL should be http://localhost instead of http://localhost:9001/yacceleratorstorefront/?site=electronics&clear=true .Similarly the product page URL should be http://localhost/PowerShot-A480/p/1934793 instead of http://localhost/yacceleratorstorefront/electronics/en/PowerShot-A480/p/1934793

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Take a look at how it is done in the Commerce trails https://wiki.hybris.com/display/R5T/Creating+a+Code+Base+for+Your+Project

Specifically the changes that they make in the /config/local.properties for the storefront extension

Former Member
0 Kudos

You can define storefrontContextRoot= in your local.properties. For getting rid of 9001, you will need to run your server on port 80.