html - One-page website + AJAX + History.js + googlebot -


i building sliding one-page website following structure:

<div id="wrapper"> <div id="ajax_content"> // ajax action fires on document ready (jquery) , loads pages in here // slide correct page-panel found via url </div> <noscript> // normal rendering of single page requested url </noscript> </div> 

i using history.js, don't have hashbanged urls. (menu-)links several pages normal links data-page attribute return false js.

i want google index pages seperately.

the problem facing documentation found ajaxed websites state google needs hashbangs. if have normal urls in href tags, google won't ajax actions, right?

other question: google read <noscript> tag. content of noscript different content shown users, google see approach cloaking?

google states:

ensure provide same content in both elements (for instance, provide same text in javascript in noscript tag). including substantially different content in alternate element may cause google take action on site.

what think approach?

so if have normal urls in href tags, google won't ajax actions, right?

correct.

but content of noscript different content shown users, google see approach cloaking?

no. cloaking intentionally showing different content search engines users purpose of manipulating search results. using <noscript> usability non-javascript user, includes human beings javascript turned off, can still use website. you're doing thing.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -