×
What you cannot expect
@MartinaKraus11
What you can expect
GDE in Angular
Women Techmakers Ambassador
Trainer and Consultant
@MartinaKraus11
Martina Kraus
martinakraus
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
13:30 - 15:00
15:30 - 17:00
15:00 - 15:30
Part 1: SEO in Angular
Coffee break
Part 2: Angular Universal
@MartinaKraus11
Node.js (LTS)
Angular.CLI (Angular >= 10.x)
Google Chrome
Code Editor
@MartinaKraus11
Example Repo and exercises:
https://github.com/martinakraus/angular-days-seo-2021
Slides:
https://slides.com/martinakraus/seo-workshop
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
Crawling
Indexing
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
Meta-Tags
Sitemaps
robots.txt
Measurement
@MartinaKraus11
Meta-Tags
Sitemaps
robots.txt
Measurement
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
Name | Description |
---|---|
<meta name="description" content="..." /> | provide short description of the page |
<meta name="robots" content="..., ..." /> | define behavior of search engine bot |
<meta name="viewport" content="..."> | how to render a page on mobile device |
<meta name="rating" content="adult" /> | labels a page as adult content |
@MartinaKraus11
<meta name="robots" content="noindex, nofollow" />
noindex: Do not show this page in search results.
nofollow: Do not follow the links on this page.
unavailable_after: [date/time]:
Do not show this page in search results after the specified date/time
@MartinaKraus11
<meta name="google" content="notranslate" />
<meta name="google" content="nopagereadaloud" />
<meta name="twitter:title" content="..." />
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
Page-Title
Description
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
Meta-Tags
Sitemaps
robots.txt
Measurement
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
https://www.sitemaps.org/protocol.html
@MartinaKraus11
Attribute | Description |
---|---|
<loc> | Url of the page |
<lastmod> | Date of last modification (should be in W3C Datetime format) |
<changefreq> | How frequently the page is likely to change: always, hourly, daily, weekly, monthly, yearly, never |
<priority> | The priority of this URL relative to other URLs on your site |
@MartinaKraus11
@MartinaKraus11
https://www.npmjs.com/package/sitemap
https://www.xml-sitemaps.com/
DEMO
@MartinaKraus11
Meta-Tags
robots.txt
Measurement
Sitemaps
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
Useragent Googlebot is not allowed to crawl any URL
starting with /nogooglebot/
Location of sitemap.xml
@MartinaKraus11
Disallow crawling of a directory and its contents
@MartinaKraus11
Block a specific image from Google Images
@MartinaKraus11
Disallow crawling of files of a specific file type
DEMO
@MartinaKraus11
Meta-Tags
Measurement
Sitemaps
robots.txt
@MartinaKraus11
https://developers.google.com/web/tools/lighthouse
@MartinaKraus11
DEMO
@MartinaKraus11
@MartinaKraus11
Your URLs are readable
Your website is mobile friendly
Your URLs are referenced in a sitemap
Everything is directly accessible through an URL
Your widgets use crawlable a tags with href attributes
Your content can get indexed quickly
Angular Universal
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
Crawling
Indexing
Rendering
@MartinaKraus11
Sources: https://moz.com/blog/search-engines-ready-for-javascript-crawling
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
DEMO
@MartinaKraus11
@MartinaKraus11
DEMO
@MartinaKraus11
@MartinaKraus11
@MartinaKraus11
DEMO
@MartinaKraus11
@MartinaKraus11
angular.json
@MartinaKraus11
Will be stored as separated index.html files
npm run prerender
@MartinaKraus11
Will be stored as separated index.html files
npm run prerender
@MartinaKraus11
@MartinaKraus11
kraus.martina.m@googlemail.com
@MartinaKraus11
martina-kraus.io
Slides: https://slides.com/martinakraus/seo-workshop