Can I delay an AJAX call in order to hide specific on page content?
-
I am an SEO for a people search site. To avoid potential duplicate content issues for common people searches such as "John Smith" we are displaying the main "John Smith" result above the fold and add "other John Smith" search results inside an iframe. This way search engines don't see the same "other John Smith" search results on all other "John Smith" profile pages on our site and conclude that we have lots of duplicate content.
We want to get away from using an iframe to solve potential duplicate content problem.
Question:
Can we display this duplicate "John Smith" content using a delayed AJAX call and robot.txt block the directory that contains the AJAX call?
-
If you are using ajax, I guess you async postback information to your server in order to retrieve results and normally your form method=post.
If it's the case, you are ok, because google (as far as I know) will not interpret the post method and just stop there and read the page as is.
Now if you use a form method=get (which I doubt), or use kind of querystring to query your db or display default profiles before posting, then google could be able to follow the results and this could lead to duplicate contents. Then you'll need to block these pages with a robot.txt.
Can you post the url you are working on? This will help.
-
Thanks for the input, I will check around to see if Google really does not interpret "post"
-
Seems like Google does interpret "Post:
"Googlebot may now perform POST requests when we believe it’s safe and appropriate."
http://googlewebmastercentral.blogspot.com/2011/11/get-post-and-safely-surfacing-more-of.html