I have set hostname as http://www.abc.com in Umbraco, and selected it from UCommerce -> product catalog -> hostname.
There is no issues if i type http://www.abc.com and proceeding to the checkout page, but when i type http://abc.comwithout www and proceeding to the checkout it returns error
No product catalog group supporting the url "http://abc.com:80/for-sale/post-forsale/" found.
Why would you expect that to happen? And further, compensate for when it does?
If your setup is standard and uses relative URLs throughout the application then when a user is following through the site in a linear fashion they should always remain on the same domain URL format. The only time you should expect this might happen is when the user decides they want to manually alter the URL and put a www. in front of it - in this case, this isn't an Umbraco issue, indeed, it's not really an issue, not exceptional, just normal; it would be like me visting an HTTPS URL, manually changing the URL to a non-secure one, HTTP, and expecting it to still be secure.
This is simple, all will not enter url like www.abc.com some may enter just abc.com if so how can we tell that without www UCommerce checkout will not work?
You can only tie a single domain name to a store that why you're seeing that particular behavior. Rather than doing two separate domains it would make sense to set up a 301 redirect from the non www. domain to the www one or vice versa based on which one you want to be the default. The issue with having two domains assigned to your site like you propose is that you'll effectively have two URLs for everything that you're building page rank on, so you'll get less google juice for each of them in turn.
Alternatively if you don't want to screw around with it you can just leave the hostname to "default" in uCommerce. uCommerce will then pick that one store up for every domain you use it on.
Of course you'll want to go with the redirect if you're dealing with a multi site, multi store scenario :)
Issue with product catalog hostname.
I have set hostname as http://www.abc.com in Umbraco, and selected it from UCommerce -> product catalog -> hostname.
There is no issues if i type http://www.abc.com and proceeding to the checkout page, but when i type http://abc.com without www and proceeding to the checkout it returns error
No product catalog group supporting the url "http://abc.com:80/for-sale/post-forsale/" found.
'You should like just need to add the non-www-prefixed domain in their too (your Umbraco dashboard 'hostnames): abc.com
If not already, also create a domain record in the configuration of the site in IIS.
Then it will return error if proceeding to checkout page with www.abc.com url. I want both to be accessed without any error.
Why would you expect that to happen? And further, compensate for when it does?
If your setup is standard and uses relative URLs throughout the application then when a user is following through the site in a linear fashion they should always remain on the same domain URL format. The only time you should expect this might happen is when the user decides they want to manually alter the URL and put a www. in front of it - in this case, this isn't an Umbraco issue, indeed, it's not really an issue, not exceptional, just normal; it would be like me visting an HTTPS URL, manually changing the URL to a non-secure one, HTTP, and expecting it to still be secure.
This is simple, all will not enter url like www.abc.com some may enter just abc.com if so how can we tell that without www UCommerce checkout will not work?
Soren could you please help me to resolve this issue?
Hi Basil,
You can only tie a single domain name to a store that why you're seeing that particular behavior. Rather than doing two separate domains it would make sense to set up a 301 redirect from the non www. domain to the www one or vice versa based on which one you want to be the default. The issue with having two domains assigned to your site like you propose is that you'll effectively have two URLs for everything that you're building page rank on, so you'll get less google juice for each of them in turn.
Alternatively if you don't want to screw around with it you can just leave the hostname to "default" in uCommerce. uCommerce will then pick that one store up for every domain you use it on.
Of course you'll want to go with the redirect if you're dealing with a multi site, multi store scenario :)
is working on a reply...