masters,
on our site load identical content via ajax calls. (when users click on menu, prevent reloading entire page again, improve user experience)
so works well, ajax loaded content copy of original content.
may prevent google indexing content?
http://dinox-h.hu/en/gallery.php
in left menu can see links:
for example:
try adding following on ajax-delivered pages:
<meta name="robots" content="noindex,nofollow" /> this tell site crawlers not crawl page. add pages in robots.txt, this:
user-agent: * disallow: /*?ajax=1 that block url ?ajax=1 being indexed (providing robot honours robots.txt). better solution involve creating sitemap , telling various search engines it.
edit better way of delivering ajax content imo send following header when requesting pages via ajax:
x-requested-with: xmlhttprequest jquery default, provided can check on server side, deliver usual content e.g. without template. deliver different content same url depending on type of request is. should solve crawling issue doubt crawler stumble across it.
Comments
Post a Comment