Skip to content

Commit

Permalink
Merge pull request #359 from brandonkelly/patch-1
Browse files Browse the repository at this point in the history
Add note about the Production environment name
  • Loading branch information
Tam authored Jun 9, 2021
2 parents 9fc5da1 + a407113 commit 5dc568b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ Clone this repo into `craft/plugins/seo`.

Before using the SEO field type, you’ll need to ensure all the settings are correct. You can find the settings under the SEO plugin menu in the sidebar, or via the plugin menu.

### Environment Setup

Ensure that your Production environment’s name is `production` (going with Craft’s convention). All other environments will get `X-Robots-Tag: none, noimageindex` headers added to every web response, to prevent search engines from indexing duplicate content.

Environment names are typically defined by an `ENVIRONMENT` environment variable.

### Fieldtype Usage

Replace your `title` tag, and any other SEO related meta tags with `{% hook "seo" %}`. That's it!
Expand Down

0 comments on commit 5dc568b

Please sign in to comment.