AJAX requests and implication for SEO
-
Hi,
I got a question in regard to webpages being served via AJAX request as I couldn't find a definitive answer in regard to an issue we currently face:
When visitors on our site select a facet on a Listing Page, the site doesn't fully reload. As a consequence only certain tags of the content (H1, description,..) are updated, while other tags like canonical URLs, meta noindex,nofollow tag, or the title tag are not updating as long as you don't refresh the page.
We have no information about how this will be crawled and indexed yet but I was wondering if anyone of you knows, how this will impact SEO?
-
Hi - right, then if the URL changes for the user, you'll want to probably use the PushState method (linked above) to convey this to Google. They likely can't see the URL change by default.
You can check by trying to crawl the site with Screaming Frog SEO Spider with the user agent set to Googlebot. Then go to "outlinks" for the page with the facet links, and see if they are listed.
Hope that helps some more! Let me know if you need further direction.
-Dan
-
Hi Dan,
Yes, the URL would change in both cases (AJAX request as well as for a complete refresh).
Thanks
-
Hi - right, I should have answered your specific situation too
When the user selects a facet - does this change the URL too? Meaning, it's supposed to be a totally different page?
-
Hi Dan,
Although it doesn't address the specific question I had I think your link is a good start for me to dig into the topic in more detail.
Many Thanks,
-
Google recently updated how they prefer AJAX is handled:
https://webmasters.googleblog.com/2015/10/deprecating-our-ajax-crawling-scheme.html
They now recommend using the PushState Method - I won't pretend to know all the intricacies of how it works for implementation, but that's the best method to go with. If you need any more help let us know, and I'll have another associate jump in and take a look.
-Dan
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Pagination, Javascript & SEO
Hi I need some help identifying whether we need to rethink the way we paginated product pages, On this page http://www.key.co.uk/en/key/workbenches when clicking page 1,2, etc - we have javascript to sort the results, the URL displayed and the URL linked to are different. e.g. The URL for these paginated pages is for example: page2 http://www.key.co.uk/en/key/workbenches#productBeginIndex:30&orderBy:5&pageView:list& Then the arrows either side of pagination, link to the paginated landing page e.g. http://www.key.co.uk/en/key/workbenches?page=3 - this is where the rel/prev details are - done for Google However - when clicking on this arrow, the URL loaded is different again - http://www.key.co.uk/en/key/workbenches#productBeginIndex:60&orderBy:5&pageView:list& & doesn't take you http://www.key.co.uk/en/key/workbenches?page=3 I did not set this up, but I am concerned that the URL http://www.key.co.uk/en/key/workbenches?page=3 never actually loads, but it's linked to Google can crawl it. Is this a problem? I am looking to implement a view all option. Thank you
Intermediate & Advanced SEO | | BeckyKey0 -
SEO Behind a paywall.
Good Morning! Does anybody have any experience with SEO behind a paywall. If we have a portion of a website that is going to be locked, will google still be able to access all of that regardless of paying? If not is there any way to circumvent that? Any thoughts are greatly appreciated! MOZel Tov!
Intermediate & Advanced SEO | | HashtagHustler0 -
Wordpress Blogs and SEO
So far we have been creating separate blogs on wordpress.com for our sites, and writing there. Today I was told that there was better SEO hosting the blog on the actual domain. i.e. www.widgets.com/blog instead of widget.wordpress.com Is this true? Oddly I have had my WP beat my own URL on one account. So I am not sure if this is valid. Can someone tell me pros and cons of both? Thanks!
Intermediate & Advanced SEO | | greenhornet770 -
How Should I Start Using SEO For Wordpress
I want to ranked my all keywords on top 10 position but unforunately only few keywords are in top 10 position.. Now i already using some recommend plugins like Yoast, Easy WP SEO. So my main question is how should i start promoting my wordpress topic. I already submitting to social network but not getting enough traffic except Stumbleupon... I am using SEO software like SenukeX and Bookmarking Demon but still no luck.. i am not getting quality backlinks.... please help i am very frustrated... please someone give proper guideline.. every day is over by thinking the strategy...
Intermediate & Advanced SEO | | mamuti0 -
Domain expiration and seo
My domain name is free with my service with yahoo but it expires every year and gets extended automatically as I continue service, how does this impact my seo efforts? I've heard that the search engines prefer sites to expire in 3 years or more? Is this a fact?
Intermediate & Advanced SEO | | bronxpad0 -
SEO service providers overseas
Does anyone have any recommendations for overseas SEO service providers or link builders?
Intermediate & Advanced SEO | | alex10300 -
SEO for a plumber?
Hello, How does a small, local business win at SEO (without abusing directories, articles, and paid links)? It seems that everyone is saying "create unique content", but that just doesn't seem realistic for a small plumber in a big metro area. One might suggest coming up with helpful articles about plumbing tips, etc., but there are thousands of spun articles on article directories already. On page optimization is in place, we are listed in the main directories, we've asked the people we know to link to us, and we are engaged in social media. What would you recommend next? Thanks, Will
Intermediate & Advanced SEO | | WillWatrous0 -
SEO question
Hi i changed my page titles for a competitive keyword last week and noticed it has dropped 9 search engine ranking positions. Was ranking 37 and now it 46. Would you guys leave it and see if it starts creeping back up or change again? the page title i used was across my pages for example was Primary keyword | secondary keyword | Heading on page thanks for you help
Intermediate & Advanced SEO | | wazza19850