Skip to content

Commit 16cd6d5

Browse files
calcsamKyleAMathews
authored andcommitted
Add seo docs (#4766)
* add seo link * Create seo.md * Typo * Typo * Copy edits
1 parent e26fe79 commit 16cd6d5

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

docs/docs/seo.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# SEO with Gatsby
2+
3+
Gatsby helps your site place better in search engines. Some advantages come out of the box and some require configuration.
4+
5+
### Server rendering
6+
7+
Because Gatsby pages are server-rendered, rather than client-rendered, all the page content is available to Google and other search engines or crawlers.
8+
9+
(You can see this by viewing the source for this page).
10+
11+
### Speed boost
12+
13+
Gatsby's many built-in performance optimizations, such as rendering to static files, progressive image loading, and the PRPL pattern—all help your site be lightning-fast by default.
14+
15+
Starting in January 2018, Google [rewards faster sites with a bump in search rankings](https://searchengineland.com/google-speed-update-page-speed-will-become-ranking-factor-mobile-search-289904).
16+
17+
### Page metadata
18+
19+
Add metadata to pages, such as page title and description, helps search engines understand your content and when to show your pages in search results.
20+
21+
A common way to add metadata to pages is to add [react-helmet](https://github.com/nfl/react-helmet) components (together with the [Gatsby React Helmet plugin](/packages/gatsby-plugin-react-helmet) for SSR support) to your page components.
22+
23+
Some examples using react-helmet:
24+
* [Official GatsbyJS.org site](https://github.com/gatsbyjs/gatsby/blob/master/www/src/layouts/index.js)
25+
* [Jason Lengstorf's personal website](https://github.com/jlengstorf/lengstorf.com/blob/master/src/components/SEO.js)
26+

www/src/pages/docs/doc-links.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
link: /docs/plugin-authoring/
6565
- title: Proxying API Requests
6666
link: /docs/api-proxy/
67+
- title: Search Engine Optimization (SEO)
68+
link: /docs/seo/
6769
- title: Using CSS-in-JS Library Glamor
6870
link: /docs/glamor/
6971
- title: Using CSS-in-JS Library Styled Components

0 commit comments

Comments
 (0)