SeoToolkit
The SeoToolkit package is a v9/v10 package that combines multiple functionalities in one like redirects, meta fields, robots.txt and more. It is aimed at the idea of making SEO easier to use within your website and take less time to implement it.
Each functionality also has its own package. This way, you can easily use only the functionalities that you want to use. This package includes all the functionalities and also the ability to turn them off if you don't need them.
Functionalities
Sitemap
Sitemap gives you an sitemap.xml where all your pages are listed. This package works with multiple domains and languages. It creates a /sitemap.xml for each domain and also a sitemap index with all your sitemaps listed within. All sitemaps generated have a valid syntax, so Google will have no problem with indexing it. You are also able to update your sitemap settings within the CMS.
Meta Fields
Meta Fields allow you to easily set your meta fields like Title, Description, Open Graph Title/Description/Image and canonical URL based on already existing fields on your content node. This allows your users to see where the values are coming from and also what their values will be. At the same time your users can also change these values themselves, so not code is required.
Redirects
This package allows you to easily create redirects for your website. It is fully integrated within Umbraco so the interface should be easy and familiar to use for your users. The system allows you to create redirects to any URL, content item or media item. You are also able to create regex based redirects to be able to catch redirect a lot of urls at once.
Robots.txt
Robots.txt gives you an easy interface to edit your robots.txt. After installing the package, you'll get the /robots.txt path that'll display your configured robots.txt. Everything about the robots.txt is editable in the CMS itself. There is also validation on your robots.txt, so that your robots.txt is actually valid.
Script Manager
Script manager easily allows your users to add new scripts to the website. They are able to quickly add Google Tag Manager or Hotjar with just a few clicks. It also gives them the ability for adding custom scripts if their script definition is not yet available.
Getting Started
You can get started with this package by downloading the following nuget package:
dotnet add package SeoToolkit.Umbraco
If you are running on v10, use the 2.x versions. If you are using v9, use the 1.x versions.
After that, add the following lines in your _ViewImports.cshtml
@addTagHelper *, SeoToolkit.Umbraco.ScriptManager.Core
@addTagHelper *, SeoToolkit.Umbraco.MetaFields.Core
After that, add the following tag helpers in your master template
At the bottom of the <head> tag
<render-script position="HeadBottom"></render-script>
At the top of the <body> tag
<render-script position="BodyTop"></render-script>
At the bottom of the <body> tag
<render-script position="BodyBottom"></render-script>
Wherever you want to render your meta fields
<meta-fields></meta-fields>
Documentation
Documentation can be found here: https://seotoolkit.gitbook.io/useotoolkit/