Umbraco 7 SEO tags

前端 未结 3 1743
执念已碎
执念已碎 2021-01-29 08:58

I have website I want to create SEO tags for in Umbraco. I was wondering how it is done? are there any best practice documents or advice?

3条回答
  •  误落风尘
    2021-01-29 09:28

    Here's how my company is doing it and how they taught me and it is working up until this very moment we are talking.

    On your Settings, create a document type without a template and call it SEO. Then add the properties you want for your SEO there (and of course you can update them at any time). After that, create your Home Page and every other node as a child to the SEO tab and make them inherit the properties. That way in every page you create, the SEO properties will be inherited.

    Pro tip I learned recently. You can use GetPropertyValue for the SEO properties in each node as if it was the node's properties to begin with. (No need to search Ancestors or Descendants etc.

    Here's how my Settings tab looks like:

    Preview

提交回复
热议问题