: Ajax mixed with Server Side results for SEO purposes Here is the issue. We are using a third party service to index our products and return results based on query parameters that we pass to
Here is the issue.
We are using a third party service to index our products and return results based on query parameters that we pass to the third party services server.
I'm using Magento's framework.
Here is how it works:
I place a curl request to the third parties server with the various query parameters taken from both the request and pre-defined variables(filter,sort,etc) passed through a particular pages layout update.
The response is turned into an array and a collection is queried from our database based on the SKU's that the third party supplied through the curl request and they are displayed in their own div.
Secondly we get results from their service through their javascript api.
At the callback of the results being returned I hide the divs that display the results that are generated server side.
As a result , if javascript is disabled .. and more importantly , if you are a search spider coming to the site, you will still see results.
My question is:
Are there any problems with this model?
Could we have any seo penalties as a result?
Any other suggestions?
More posts by @Tiffany637
2 Comments
Sorted by latest first Latest Oldest Best
Providing an alternate way to access your site without AJAX is a must for search engine optimization.
Something about your particular implementation confuses me. If you are providing content via this server side method, then why to the JavaScript AJAX call at all? Presumably this means that there is some difference between what users with JavaScript see and what search engine spiders will see.
This could be a problem. Google doesn't like their bot seeing anything different than users. They call it cloaking. If the differences are cosmetic but with the same content, I wouldn't worry about it. It won't hurt Googlebot's feelings not get the right colors or layout. If the content shown is actually different in the two cases, that could be a problem.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.