Skip to content
Module for Orchard Core that provides useful features for SEO.
C# HTML Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Controllers
HostnameRedirects Upgrade to Orchard Core RC1 Oct 8, 2019
MetaTags Move meta tags to there own SEO tab when editing Oct 15, 2019
Redirects
RobotsTxt
Views Fix media field not working for meta tag image field Oct 15, 2019
wwwroot/Downloads Fix missing Redirect import template Jul 12, 2019
.gitignore
.prettierrc Setup of front-end assets compilation May 29, 2019
.travis.yml
Etch.OrchardCore.SEO.csproj Bump to 0.5.1 Oct 15, 2019
Manifest.cs
README.md Upgrade to Orchard Core RC1 Oct 8, 2019
azure-pipelines-prerelease.yml
azure-pipelines-stable.yml
package-lock.json
package.json
tsconfig.json
webpack.config.js Setup of front-end assets compilation May 29, 2019

README.md

Etch.OrchardCore.SEO

Module for Orchard Core that provides useful features for SEO (search engine optimisation).

Build Status

Build Status NuGet

Orchard Core Reference

This module is referencing the RC1 build of Orchard Core (1.0.0-rc1-10004).

Features

Hostname redirects

Define main hostname to redirect all domain variations and force SSL.

Meta Tags

Attach content part that gives content editors ability to manage basic meta tags (inspired by metatags.io).

Known Issues

When using this module you may notice the page title will include the display text for the content item as well as the value defined in the title field. This is because the ContentsMetadata shape within Orchard Core will automatically add the display text for a content item to a page title. The work around is to override the ContentsMetadata shape within your theme. Below is the Razor template that will set the page title to the value entered in the meta tag title field. When the content type doesn't have the MetaTagsPart attached or no value has been defined within the title field the default approach of using the display text for the content item is used.

@using OrchardCore.ContentManagement

@{
    ContentItem contentItem = Model.ContentItem;

    if (Model.ContentItem.Content.MetaTagsPart == null || string.IsNullOrWhiteSpace((string)Model.ContentItem.Content.MetaTagsPart.Title)) {
        Title.AddSegment(Html.Raw(Html.Encode(contentItem.DisplayText)));
    }
}

Under development

Redirects

Create redirect content items that'll redirect a relative URL to another URL.

Import

This feature adds the ability to bulk import redirects from an XLSX file.

Robots.txt

Manage contents of /robots.txt.

Installing

This module is available on NuGet. Add a reference to your Orchard Core web project via the NuGet package manager. Search for "Etch.OrchardCore.SEO", ensuring include prereleases is checked.

You can’t perform that action at this time.