on 10-14-2022 7:27 AM
Hi Experts
I am able to access my Homepage or loginpage by using two urls lets say
1.localhost:9002/us/siteId/en/USD
2.localhost:9002/us
my requirement is to disable the 2 url which should not access the site can you please let me know how to achieve this .
in local.peoperties file i can see the webroot and webiste are configured as even i tried to modify by replacing /us with /us/siteId/en/USD but page is breaking
xyzstorefront.webroot=/us
website.siteId.https=https\://localhost\:9002/us
website.siteId.http=http\://localhost\:9001/us
Hi Sandeep,
The list of matching urls are available in the base site. If you navigate to base site in backoffice, you will find the list of url patterns for which your site will load. En and usd are encoding attributes for language and currency, and the setting is there in the base site.
The SiteMatchingFilter makes use of these values to load the website in question, based on the request url.
The property you have mentioned is used elsewhere, for example, in case for payment you need a url to redirect, or in case of emails, you need your website url. In thise cases, the base url is picked up from those properties.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
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.