Navigation for Users vs Spiders
-
We're creating a new global site nav that provides a great user experience, but may be less than ideal for the search engines. The user selects an item from category A, and is then presented options to choose from in category B, and then chooses a specific product. The user does not encounter any actual "links" until they choose the specific product.
The search engines won't see this navigation path due to the way that the navigation is coded. They're unable to choose an item from A, so they can't get to B, and therefore cannot get to C, which is the actual product page.
We'd like to create an alternative nav for the browsers, so that they can crawl the category pages for A and B, as well as the specific product pages (C).
This alternative nav would be displayed if the user does not have javascript enabled. Otherwise, the navigation described above will be shown to the user.
Moving forward, the navigation that the user sees may be different from what is shown to the search engine, based on user preferences (ie they may only see some of the categories in the nav, while the search engines will see links to all category/product pages).
I know that, as a general rule, it's important that the search engines see the same thing that the user sees. Does the strategy outlined above put us at risk for penalties?
-
Here is the Google’s guidelines for developers that how they can make their AJAX code crawlable.... https://support.google.com/webmasters/answer/174992?hl=en
I guess you should pretty much focus on your user’s experience and I believe Google crawlers can easy crawls your AJAX and JS codes...
Hope this helps!
-
Same response AJAX is a javascript method to get content from another page. Crawlers have no issues indexing that. Now a days, most BIG sites use AJAX, like the ones with infinite scroll.
The way they do it is: they put the link to the next page (that users don't see since you hide the "Next" via css) and both crawlers and users can navigate the site just fine. In your case, you can put links into each submenu option too, that way you will help both users and crawlers.
-
Sorry, I should have clarified, the navigation utilized AJAX, so the links don't actually appear anywhere in the source. We do have breadcrumbs on the product pages. Thanks!
-
Search engines are already good executing Javascript, so they WILL see those links too. I would suggest only the "user" navigation and add some bread crumbs in each product (the path the user followed to reach that product) so crawler and users can also navigate the site by category.
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
-
Massive Drop in Users
A client of mine is seeing crazy drops in users. Feb. 2018 was an all-time high in organic users, over 38,000. However, there has been a steep drop off since then. In November 2018, the number of organic users was at a little over 1,000. The client said there have been no major changes to the site. I have no idea what is happening. Below are things I have done already: - Submitted a disavow file- Fixed URL parameters- Performed an entire site audit. Fixed all site errors and re-wrote new metadata. - Made sure no main pages have been deleted. 301 redirects are in place where necessary. - Started to consolidate low-quality pages. If I had to guess, I would assume this is an E.A.T. related drop. I have no way of knowing though. This is a YMYL site, so we are working to increase E.A.T. However, any insight would be helpful. Rankings are dropping off so quick I'm not sure what else I can do. Please comment if you need more context. PLEASE HELP!!
White Hat / Black Hat SEO | | BryanPhelps-BigLeapWeb0 -
Google spider
If someone provide 1 or more cent discount to our customers who put up a link on their site, and wanted to actually show the referral discount in their shopping cart for that customer, can Google see that and realize they are providing a discount for a link? Can Google see what's displayed in our their web application - like in the upload, shopping cart and complete transaction pages?
White Hat / Black Hat SEO | | K_Monestel0 -
I show different versions of the same page to the crawlers and users, but do not want to do anymore
Hello, While Google could not read JavaScript, I created two versions of the same page, one of them is for human and another is for Google. Now I do not want to serve different content to the search engine. But, I am worry if I will lose my traffic value. What is the best way to succeed it without loss? Can you help me?
White Hat / Black Hat SEO | | kipra0 -
Good vs Bad Web directories
Hi this blog post Rand mentions a list of bad web directories - I asked couple of years ago if there is an updated list as some of these (Alive Directory for example) do not seem to be blacklisted anymore and are coming up in Google searches etc? It seems due to old age of the blog post (7 years ago ) the comments are not responded to. Would anyone be able to advise if which of these good directories to use? https://moz.com/blog/what-makes-a-good-web-directory-and-why-google-penalized-dozens-of-bad-ones
White Hat / Black Hat SEO | | IsaCleanse0 -
Keyword Phrase vs. separate keywords - Title Tag best practices
Hello, What is your opinion about when to use a keyword phrase vs. 2 keywords, separated by a comma, in the title tag? For example, on this page, the title could be either: NLP Hypnosis, Language Patterns | Nlpca.com or NLP and Hypnosis Including Language Patterns | Nlpca.com Which do you guys think is best with respect to rankings, updates, and future updates?
White Hat / Black Hat SEO | | BobGW0 -
Pros vs Cons of Microsites
Prior to the most recent Google update, we noticed our microsites were indexing very well. The intent of these microsites was not to build link popularity for the primary sites, but simply to show up as additional results within search. However, with the most recent Google update, we see the microsites are not indexing very well. And given the suggestion from Google that microsites should be avoided -- with the potential that the primary site be penalized if they are not -- it appears those microsites should be pulled down. But on Bing/Yahoo, these microsites are still indexed -- and indexed very well. So this begs the question: are microsites worthwhile? Do we think Bing/Yahoo will follow suit? Is it beneficial to perhaps tell Googlebot to ignore the microsites while allowing Bing & Yahoo to index them? Looking for some thoughts here...
White Hat / Black Hat SEO | | AltMediaStudios0 -
Footer links VS Page links - Which one is best?
Hello all 🙂 I was wondering if someone could advise me on a link building question. If you wish to create a couple of landing pages for different locations with anchor text link building etc is it better to have a page like this web site here: http://www.acorncommercial.co.uk/commercial-property/development-sites/ or quick footer links like this web site here?: http://www.robertholmes.co.uk/ (click on quick links at the bottom). I would like to know if there is a difference from an SEO perspective or if they are considered black hat. Your advise would be much appreciated! Yiannis
White Hat / Black Hat SEO | | artdivision0 -
Link Building: High Ranking Site vs. Relevancy
Hello, When link building, is it acceptable to link with a site that has high authority but has minimal relevancy to our site? For example, if we sell nutritional products and the link exchange would be with a site that relates to free coupons, would that work? Also, if we are publishing articles on other sites, should we also publish them on our own site? Should we add "nofollow" if we publish them in our site?
White Hat / Black Hat SEO | | odegi0