on 2019 Jan 18 9:51 AM
Hi guys,
I am having trouble changing the URL for my store ( version 1811 , b2b_acc recipe )
I want to be able to access the powertools store using the following link : https://powertools.local:9002/powertools
What I did :
1) change the local properties
website.powertools.http=http\://powertools.local:9001/powertools
website.powertools.https=https\://powertools.local:9002/powertools
yb2bacceleratorstorefront.webroot=
storefrontContextRoot=
hac.webroot=/hac
Did an ant clean all , the settings are in the server xml ( context root is empty ) , updated the hosts file ( powertools.local is added ) .
2) Update the URL pattern for the store :
(?i)^https?://[^/]+(/[^?]*)?
When I try accessing the store I get 404 directly. There are no errors or warning in the logs
Can someone please point out what I am doing wrong ?
Thank you
/Norbert
Request clarification before answering.
As you have mentioned in the question, I am assuming you have setup Powertools website using b2b_acc or b2c_b2b_acc recipe, able to access it using https://powertools.local:9002/yb2bacceleratorstorefront (and not performed any customization yet), please perform the following steps:
a. Update the extensioninfo.xml
of yacceleratorstorefront
as follows:
<webmodule jspcompile="false" webroot="/powertools"/>
b. Add the following configurations at the end of local.properties file:
yb2bacceleratorstorefront.webroot=/powertools
storefrontContextRoot=/powertools
website.powertools.http=http://powertools.local:9001/powertools
website.powertools.https=https://powertools.local:9002/powertools
c. Go to backoffice > WCMS > Website > WCMS COCKPIT PROPERTIES > Update the value of WCMS Cockpit Preview URL to /powertools/?site=powertools
> Click SAVE
d. Shutdown the server and perform ant clean all updatesystem -Dtenant=master
e. Start the server and access https://powertools.local:9002/powertools
Note: although I have made it work as per your requirement, IMHO, one should create a custom storefront following the steps mentioned at https://help.hybris.com/1811/hcd/8acc8a5a86691014a20781b3f738213e.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
21 | |
21 | |
3 | |
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.