Issue
Standard buy links embedded in a Wix.com site will always return the customer to the home page because the Wix catalog uses hash fragments to provide product catalog mapping.
Resolution
A Wix.com built websites utilizes a #! tag at the end of the URL. Below are some example URLs from a Wix site:
Page | URL |
---|---|
Home | http://www.caringwisdom.net/ |
Product Group | http://www.caringwisdom.net/#!caringwisdom-products/h9dvb |
Item Page | http://www.caringwisdom.net/#!claylinks-kits/mra5u |
The problem with URLs that use the hash (#) tag at the end is this value does not get sent in the Referer (sic) header sent to the browser. See the screenshot below for an example of the headers on a UCEditor request.
Since the HTTP specification says that the browser will not send the # portion of the URL to the server, we need to manually override the continue shopping URL using the OverrideContinueShoppingURL parameter that can be passed to the UCEditor URL. The easiest way to do this and insure that all the values are properly URL encoded is to use the Advanced Buy Link. Navigate to the folder that contains your item and then click on the links icon.
Now scroll down to the Advanced Buy Link section and perform the following actions.
- Select the StoreFront name from the Host Name drop down
- Check the HTTPS box
- Paste the complete Wix URL into the Override Continue Shopping URL field.
At the bottom of the Advance Buy Link screen (Shown below), the system will automatically generate the proper Advanced Buy Link in the box.
Embed that buy link into the product page on your Wix site. Your customer can now add the product to their shopping cart and click continue back to the same page.
Understanding the SEO (Search Engine Optimization) Impact of migrating from one CMS to another.
As a side note, it's important to understand the potential SEO implications of a Wix based site. There is a lot of concern within the industry coming from search people at Google and Microsoft (Bing) about the hashbang (#!) approach. Please read this article:
http://webenso.com/is-wix-seo-friendly/
Make sure to perform standard SEO practices before migrating from one CMS to another.
1) Review the number of pages that are currently in Google. Search "site:yourhost.com" for example to see.
2) Determine how you will send (301) permanent redirects for the old URLs to all of the new URLs on the new site. Never let your content just 404.
3) Your new CMS should generate a sitemap file that can be registered immediately with Google Web Master Tools so that their crawler will be able to quickly observe the site changes.