Skip to content

4. Add SEO fields to a documenttype

Mark edited this page Nov 1, 2016 · 2 revisions

RankOne comes with a predefined SEO composition to easily add SEO fields to nodes

  1. Open the documenttype
  2. Click "Compositions" in the top right corner
  3. Select "RankOne - Seo Composition" and click "Save"
  4. Click Save on the documenttype

Output the fields in your template

RankOne comes with a built in partial view "RankOne - Seo Properties", you can include in your template.

@Html.Partial("RankOne - Seo Properties")

You can also can create your own implementation, the alias names are: seoTitle, seoMetaDescription and seoMetaKeywords.

Add preview to composition

To add a Google like preview to the RankOne - Seo Composition

  1. In the Document Types tree item select "RankOne - Seo Composition"
  2. Click "Add Property"
  3. Select "Rank One - Result Preview" as the editor