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
-
WordPress Themes and SEO
I am helping out a client with updating their website.
Intermediate & Advanced SEO | | cangelmarketer
The theme they currently have hasn't been updated in ages (I am going to guess years). Would there be a difference in updating to the most recent version of their theme and changing them to a completely different theme? Or because they update in the current theme is so large anyway, it won't make a difference in terms of SEO. The reason I ask is that they don't know their Themeforest details to log in and download the most recent version of the theme, so they would have to re-purchase it, and with the hosting, they have access to a range of themes includes in their package. Thanks0 -
Multi-Store SEO
I am currently developing a website which will have a multi-store function, i.e. one for US & ROW customers and one for UK & EU customers. The domain names will be along the lines of: Original domain: www.website.com UK & EU domain: eu.website.com US & ROW domain: us.website.com When a customer visits the website they will be redirected to one or the other depending on their location. Can anyone see any problems which this may cause in respect to SEO? I know there may be a duplicate content issue here also, how should I best deal with this?
Intermediate & Advanced SEO | | moon-boots0 -
URL structure for SEO
Hi Mozzers, I have a site which is a combination of product pages, and news and advice pages that relate to the products. How would you approach the URL structure for this, following SEO best practice? Approach 1 Product pages:
Intermediate & Advanced SEO | | A_Q
www.website.com/product-category/product-page News and advice pages:
www.website.com/product-category/product-page/news-and-advice-story-1
www.website.com/product-category/product-page/news-and-advice-story-2
etc or Approach 2 Product pages:
www.website.com/product-category/product-page News and advice pages:
www.website.com/news/product-category/news-and advice-story-1 (with internal linking to relevant product page)
www.website.com/news/product-category/news-and advice-story-2 (with internal linking to relevant product page)
etc Or would a different approach be better?0 -
WhoIs, SEO & Privacy
Is WHOIS data used by Google as a ranking signal? We had a website that had some bad SEO work done a while ago hence took a knock, If I use the same WHOIS data on a new site is that likely to cause an issue? Also I don't like the idea of providing too much information for privacy reasons, so have tended to stick to general email addresses and department names rather than actual personal information. Is that a bad approach?
Intermediate & Advanced SEO | | seoman100 -
Building a National SEO Stratergy
Good morning Mozzers! I've just started working in-house for a local company who want to go national. I want to build a long-term strategy but the competitors all appear to be building short term strategies and I fear this is pushing the company towards following a similar approach. The competitor companies and even my company at present are trying to target "Green Widgets in TownX" and then duplicating the page and switching out TownX with TownY. Naturally there are competitors having success with this, but for how long? I really don't want to go down this route. My aim for a long term strategy would be going after "Green Widgets" and then rank naturally for "Green Widgets in TownX" with our generic green widgets page. Now if I'm told I have to go with the competitor strategy regardless of my concerns, are there any good examples of companies that have done this, without the need for being a huge brand first? I know I can obviously try to create unique content on each page and that will help prevent penalties, but it still seems a short-term strategy? Any words of wisdom would be greatly appreciated.
Intermediate & Advanced SEO | | PaulGG1 -
Is this link SEO-Friendly?
Hi Mozzers, Was wondering if someone could tell me if this link is SEO-friendly? class = "sl">name="sc" type="checkbox" value="1449"><a <span="">href</a> <a <span="">="</a>http://www.example.com/" onclick = "Javascript: return dosc(2);">src="imsd/coff.gif" id="cbsc2"/>Keyword It has some Javascript that makes the link work like a filter. Cheers, Carlos
Intermediate & Advanced SEO | | Carlos-R0 -
Do widgets and gadgets affect SEO?
I have added a number of widgets and gadgets to my site that I suspect act like Iframes. If true do these widgets and gadgets and the content that they are linked to help or hurt my site from an SEO perspective? Examples are facebook gadget, wordpress blidget, weather gadget, google maps widget.
Intermediate & Advanced SEO | | casper4340 -
SEO Consultant for site audit
Can someone recommend an excellent SEO who can perform a full site audit of my fairly large Wordpress site? The site receives about 14,000 visits per month but traffic is waining one month after a recent change. Need analysis of some funky stuff in my Webmaster tools and overall site review.
Intermediate & Advanced SEO | | JSOC0