Technical SEO Flashcards

1
Q

How does Google render Javascript?

A

Google renders JavaScript on a second pass basis, meaning that Google will render the essential elements of a site first and will then a couple days or weeks later, render the Javascript.

This means that crucial SEO elements in the Javascript might not get indexed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does a website get from server to browser?

A
  • User requests domain. Now that the name is linked to an IP address via DNS, people can request a website by typing the domain name directly into their browser or by clicking on a link to the website.
  • Browser makes requests. That request for a web page prompts the browser to make a DNS lookup request to convert the domain name to its IP address. - The browser then makes a request to the server for the code your web page is constructed with, such as HTML, CSS, and JavaScript.
  • Server sends resources. Once the server receives the request for the website, it sends the website files to be assembled in the searcher’s browser.
  • Browser assembles the web page. The browser has now received the resources from the server, but it still needs to put it all together and render the web page so that the user can see it in their browser. As the browser parses and organizes all the web page’s resources, it’s creating a Document Object Model (DOM). The DOM is what you can see when you right click and “inspect element” on a web page in your Chrome browser (learn how to inspect elements in other browsers).
  • Browser makes final requests. The browser will only show a web page after all the page’s necessary code is downloaded, parsed, and executed, so at this point, if the browser needs any additional code in order to show your website, it will make an additional request from your server.
  • Website appears in browser. Whew! After all that, your website has now been transformed (rendered) from code to what you see in your browser.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Talk to your developers about async

A

. Async tells the DOM that it can continue to be assembled while the browser is fetching the scripts needed to display your web page. If the DOM has to pause assembly every time the browser fetches a script (called “render-blocking scripts”), it can substantially slow down your page load.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Think about removing old tracking scripts

A

You might also want to bring up other optimizations that devs can implement to shorten the critical rendering path, such as removing unnecessary scripts entirely, like old tracking scripts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Client-side vs. Server Side Rendering

A

Most Javascript is executed in the client’s browser, with server-side rendering on the other hand the files are executed at the server and the server sends them to the browser in their fully rendered state.

SEO-Critical elements such as text, links and tags that are loaded on the client’s side with Javascript, rather than represented in your HTML, are invisible from your page’s code until they are rendered. This means search engine crawlers won’t see what’s in your Javascript - at least not initially.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Here is a list of some of the problems that can occur with your Javascript

A

You’ve blocked Googlebot from JavaScript resources (ex: with robots.txt, like we learned about in Chapter 2)
Your server can’t handle all the requests to crawl your content
The JavaScript is too complex or outdated for Googlebot to understand
JavaScript doesn’t “lazy load” content into the page until after the crawler has finished with the page and moved on.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you see whether Googlebot is seeing what you are seeing when viewing a URL? And potentially that nothing is going wrong with the Javascript?

A

You can use Google Search Console “URL Inspection” . Once you have inserted the URL, click on test live URL then click on view tested page.

You can also click on the screenshot tab to see how Google renders your page for mobile

In the more info tab you can also see any of the resources Google may not have been able to get for the URL you entered

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is schema markup?

A

Imagine being a search engine crawler scanning down a 10,000-word article about how to bake a cake. How do you identify the author, recipe, ingredients, or steps required to bake a cake?

Schema is a way to label or organize your content so that search engines have a better understanding of what certain elements on your web pages are. This code provides structure to your data, which is why schema is often referred to as “structured data.” The process of structuring your data is often referred to as “markup” because you are marking up your content with organizational code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Google’s preferred schema markup?

A

JSON-LD is Google’s preferred schema markup and was announced in may 2016. Bing also supports this markup language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can you test schema markup?

A

You can use Google’s Structured Data testing tool: https://search.google.com/structured-data/testing-tool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are Rich Snippets?

A

In addition to helping bots like Google understand what a particular piece of content is about, schema markup can also enable special features to accompany your pages in the SERPs. These special features are referred to as “rich snippets,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Some tips on Schema Markup

A
  • You can use multiple types of schema markup on a page. However, if you mark up one element, like a product for example, and there are other products listed on the page, you must also mark up those products.
  • Don’t mark up content that is not visible to visitors and follow Google’s Quality Guidelines. For example, if you add review structured markup to a page, make sure those reviews are actually visible on that page.
    If you have duplicate pages, Google asks that you mark up each duplicate page with your structured markup, not just the canonical version.
  • Provide original and updated (if applicable) content on your structured data pages.
    Structured markup should be an accurate reflection of your page.
  • Try to use the most specific type of schema markup for your content.
  • Marked-up reviews should not be written by the business. They should be genuine unpaid business reviews from actual customers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

If you don’t want to risk duplicating content whilst using content again, use the canonicalisation tag

A

rel=”canonical” tag allows you to point towards the original content that you are looking to use again. You are basically just saying to a search engine “hey look at the original source and index that; don’t index this version.

Used when you don’t want to risk duplicating content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Apparently Google recommends having a self referencing canonical tag on every page of your site

A

This will help you avoid having multiple versions of a page on your site. You could end up having a duplicate scenario with https://www.example.com being indexed separately from https://example.com, for example. So be careful…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Distinguishing between content filtering and content penalties

A

There is no such thing as a duplicate content penalty. However, you should try and keep content from causing indexing issues by using the rel=”canonical” tag when possible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Sort and filter options causing duplicate pages

A

It’s also very common for websites to have multiple duplicate pages due to sort and filter options. For example, on an e-commerce site, you might have what’s called a faceted navigation that allows visitors to narrow down products to find exactly what they’re looking for, such as a “sort by” feature that reorders results on the product category page from lowest to highest price. This could create a URL that looks something like this: example.com/mens-shirts?sort=price_ascending. Add in more sort/filter options like color, size, material, brand, etc. and just think about all the variations of your main product category page this would create!

17
Q

Find out more about the different types of duplicate content

A

https://moz.com/blog/duplicate-content-in-a-post-panda-world

18
Q

Google has a mobile friendly test to check your webpages

A

https://search.google.com/test/mobile-friendly

19
Q

What is AMP

A

AMP stands for accelerated Mobile Pages, and it’s used to deliver content to mobile visitors at speeds much higher than with non-AMP delivery. AMP is able to deliver content so fast because it delivers content from its cache servers (not the original site) and uses a special AMP version of HTML and Javascript

20
Q

Mobile First Indexing

A

As of 2018, Google started switching websites over to mobile-first indexing. That change sparked some confusion between mobile-friendliness and mobile-first, so it’s helpful to disambiguate. With mobile-first indexing, Google crawls and indexes the mobile version of your web pages. Making your website compatible to mobile screens is good for users and your performance in search, but mobile-first indexing happens independently of mobile-friendliness.

This has raised some concerns for websites that lack parity between mobile and desktop versions, such as showing different content, navigation, links, etc. on their mobile view. A mobile site with different links, for example, will alter the way in which Googlebot (mobile) crawls your site and sends link equity to your other pages.

21
Q

Images are one of the main culprits for slow loading speeds

A

Supposedly, you can think about uploading an image sitemap to Google to help with loading speed. What is an image sitemap and where can I find one?

22
Q

What is SRCSET?

A

Deliver the best image size for each device

The SRCSET attribute allows you to have multiple versions of your image and then specify which version should be used in different situations. This piece of code is added to the <img></img> tag (where your image is located in the HTML) to provide unique images for specific-sized devices.

This is like the concept of responsive design that we discussed earlier, except for images!

This doesn’t just speed up your image load time, it’s also a unique way to enhance your on-page user experience by providing different and optimal images to different device types.

23
Q

Lazy Loading

A

Lazy loading is where instead of seeing a blank space whilst an image loads you see a box or perhaps low resolution version of the image whilst it loads properly. The concept is to give the user an idea of how long it will take to load fully.

24
Q

Improve speed by condensing and bundling your files

A

Page speed audits will often make recommendations such as “minify resource,” but what does that actually mean? Minification condenses a code file by removing things like line breaks and spaces, as well as abbreviating code variable names wherever possible.

“Bundling” is another common term you’ll hear in reference to improving page speed. The process of bundling combines a bunch of the same coding language files into one single file. For example, a bunch of JavaScript files could be put into one larger file to reduce the amount of JavaScript files for a browser.

By both minifying and bundling the files needed to construct your web page, you’ll speed up your website and reduce the number of your HTTP (file) requests.

25
Q

Improve the experience for international audiences

A

You can familiarise yourself with international SEO best practices here: https://moz.com/learn/seo/international-seo

There are two main ways in which a website can be internationalised:

Language: sites that target speakers of multiple languages are known as multilingual sites
Country: Sites that target audiences in multiple countries are called multi regional websites and they choose URL structures that make it easy to target their domain or pages to specific countries. This can include the use of a country code top level domain (ccTLD) such as “.ca” for Canada, or a generic top-level domain (gTLD) with a country-specific subfolder such as “example.com/ca” for Canada