Search Engine Optimization? More like Googlebot Optimization, I think.
Understand the JavaScript SEO basics
11–20 of 61 posts
Re: Understand the JavaScript SEO basics
#12A good search engine shouldn't process JS at all, and index only the content that is reachable via links pulled from HTML (which may, of course, be dynamic). The processing of JS explains a lot of the sheer garbage that is in the Google results. I think they do it because it ties into their business model. JS is needed to unearth the kind of crap that a certain segment of the user base is looking for. That certain se…
Re: Understand the JavaScript SEO basics
#13A good search engine shouldn't process JS at all, and index only the content that is reachable via links pulled from HTML (which may, of course, be dynamic). The processing of JS explains a lot of the sheer garbage that is in the Google results. I think they do it because it ties into their business model. JS is needed to unearth the kind of crap that a certain segment of the user base is looking for. That certain se…
Perhaps you can put the blame on the creator of the site, but that won't bring us anywhere if we just allow people to game the system.
Re: Understand the JavaScript SEO basics
#14Earlier quoted context omitted.
You can see the results in 'fetch as Google' and in the structured data tool. Injected JS content is there, including changes to the page title and head. As always take SEO advice from Google with a grain of salt.
> As always take SEO advice from Google with a grain of salt. Why?
So really it matters if you believe in the light or dark sides of the SEO force.
Re: Understand the JavaScript SEO basics
#15Re: Understand the JavaScript SEO basics
#16Please, still in 2019, be careful with JavaScript unless you're willing to deal with a lot of uncertainty.
Google routinely says how things are supposed to work, but there are plenty of examples where their crawlers act inconsistent to public statements. To be clear, probably not Googlebot's fault though; we as a species do a lot of weird things when building websites.
Just finished a big project with a client who had a client-side render of their react app for the customer facing website. Googlebot was VERY sporadic with how they were indexing certain parts of the site, and in general, the site lost out to inferior sites in more competitive SERPs. Server side render fixed a lot of this and rankings/traffic jumped.
It's also worth noting that the Bing/Yahoo crawlers (still a notable chunk of web traffic!) can't crawl JS. You can ignore this chunk of market share if you want but someone is going to happily take it.
As a general rule, my advice is always this: Make it as easy as possible for bots to crawl and index your site's content. The more hoops the crawler is jumping through, the worse your site will perform in search engines.
Re: Understand the JavaScript SEO basics
#17Re: Understand the JavaScript SEO basics
#18A good search engine shouldn't process JS at all, and index only the content that is reachable via links pulled from HTML (which may, of course, be dynamic). The processing of JS explains a lot of the sheer garbage that is in the Google results. I think they do it because it ties into their business model. JS is needed to unearth the kind of crap that a certain segment of the user base is looking for. That certain se…
This is so out-of-touch with the modern web. Lots of totally legitimate websites, including major news outlets and Wikipedia, render their web pages on the client using JavaScript. Whether or not this is a good thing is a separate issue (personally I see nothing wrong with it), but it should be obvious that a useful search engine in 2019 needs to be able to index JavaScript-rendered content.
It’s not as if totally legitimate websites don’t have reasonable technical alternatives here.
Re: Understand the JavaScript SEO basics
#19A good search engine shouldn't process JS at all, and index only the content that is reachable via links pulled from HTML (which may, of course, be dynamic). The processing of JS explains a lot of the sheer garbage that is in the Google results. I think they do it because it ties into their business model. JS is needed to unearth the kind of crap that a certain segment of the user base is looking for. That certain se…
"nobody in their right mind" would expect to use the web in the last 15 years or so with JS disabled and have it actually work
Re: Understand the JavaScript SEO basics
#20A good search engine shouldn't process JS at all, and index only the content that is reachable via links pulled from HTML (which may, of course, be dynamic). The processing of JS explains a lot of the sheer garbage that is in the Google results. I think they do it because it ties into their business model. JS is needed to unearth the kind of crap that a certain segment of the user base is looking for. That certain se…
I'm not a fan of modern js-ridden site implementations but a search engine that displays a resource different from what will actually be consumed by the user is a bad search engine. Perhaps you can put the blame on the creator of the site, but that won't bring us anywhere if we just allow people to game the system.
The spider is indexing stuff that is the result of code execution that won't reproduce!