Mobile app version of vmapp.org
Login or Join
Bryan171

: How to achieve SEO for XHTML pages which load data in DOM using a JQuery-AJAX service calls? I have a simple website (5-8 XHTML pages and a payment gateway to be done) with about 1500 products

@Bryan171

Posted in: #Ajax #Dynamic #Jquery #Seo #Xhtml

I have a simple website (5-8 XHTML pages and a payment gateway to be done) with about 1500 products having a fix SKU/product code.

sample URL for the query: www.domainname.com/product-detail.html?20001-1P16AX and
I'am pulling data via a JQuery/AJAX service calls and pushing it to to the DOM.

The meta tags, (data in bold italics) i want to populate via service calls as under


<meta name="description" content="20001-1P16AX,20001 - 1P 16AX 1-way switch grey,EIKON,175" />
<meta name="keywords" content="20001-1P16AX,20001,switch,grey,EIKON,175,SWITCH,GREY"/>




My query is ...


Can we load SEO data in meta tahgs via JQuery/AJAX service calls?
Whether Google or other popular search engines cache this dynamic data and redirect to the EXACT product page when searched?
Is there any better way to achieve SEO/perform search for the above said scenario?


I would be very happy to hear from all you experts, please suggest.

Thanks
NBaua

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Bryan171

2 Comments

Sorted by latest first Latest Oldest Best

 

@Jamie184

You can load any data with Ajax call. For example, this site changes the title of all pages (it could be a meta tag too) with JavaScript and Google indexes them correctly.
This site uses the "escaped URL fragments" method to be indexed.

10% popularity Vote Up Vote Down


 

@Cofer257

Generally google or other crawl engines won't execute your js code and so they don't load your meta tags. But still there are ways to make your site seo friendly.

There are two ways I know. One is Hijax (http://en.wikipedia.org/wiki/Hijax) and other is the html snapshot method using 'escaped url fragments' or some other method.

In my opinion, hijax is more cleaner. In this method, you just have to differentiate between browser requesting your page and crawler requesting your page. I don't know how you are triggering your ajax page changing. Information about that would be more helpful. You just have to display all the page contents including meta data without worrying about appearance or user experience from the server side only when requesting from crawler where no JavaScript would get executed.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme