GithubHelp home page GithubHelp logo

limbo-works / limbo.umbraco.seo Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 697 KB

SEO package for Umbraco.

Home Page: https://packages.limbo.works/limbo.umbraco.seo/

License: MIT License

JavaScript 8.25% CSS 12.06% Less 12.82% HTML 1.55% C# 64.91% Batchfile 0.40%
limbo skybrud umbraco umbraco-v8 seo seo-optimization package umbraco-package sitemap sitemaps

limbo.umbraco.seo's Introduction

Limbo SEO GitHub license NuGet NuGet Our Umbraco

Limbo SEO is a package for helping improving the SEO experience in the Umbraco backoffice. While still under development, the package currently includes:

Property Editors

  • SEO Preview - eg. like the page will be shown on Google
  • Sitemap Frequency Picker - let's editors set the sitemap update frequency of a given page
  • Sitemap Page Priority - let's editors specify the page priority of a given page

Other

  • Logic for easily building sitemaps - extendable via the ISitemapHelper interface and the SitemapHelper class
  • More to come ๐Ÿ˜Ž



Installation

The Umbraco 10+ version of this package is only available via NuGet. To install the package, you can use either .NET CLI:

dotnet add package Limbo.Umbraco.Seo --version 3.0.0-beta001

or the older NuGet Package Manager:

Install-Package Limbo.Umbraco.Seo -Version 3.0.0-beta001

Umbraco 9
For the Umbraco 9 version of this package, see the v2/latest branch instead.

Umbraco 8
For the Umbraco 8 version of this package, see the v1/latest branch instead.



Screenshots

image



Usage

Sitemap

The package contains a WebAPI controller, which by default can be accessed at /umbraco/api/Sitemap/XmlSitemap. The controller outputs the XML sitemap for the site matching the inbound domain, or an error if the domain isn't recognized.

To make the sitemap appear at /sitemap.xml instead, you can add the following IIS rewrite rule:

<rule name="sitemap" stopProcessing="true" patternSyntax="ExactMatch">
  <match url="sitemap.xml" />
  <action type="Rewrite" url="/umbraco/api/sitemap/XmlSitemap" appendQueryString="false" redirectType="Found" statusCode="200" />
</rule>

Under the hood, the XML sitemap generation is handled by the ISitemapHelper interface. The default implementation of the interface is SitemapHelper, but implementation can be overridden using dependency injection.

limbo.umbraco.seo's People

Contributors

abjerner avatar

Watchers

 avatar  avatar

limbo.umbraco.seo's Issues

DLL not installed

When I add Limbo SEO to a project (2.0.0-alpha001), the packages files are added but the DLL isn't, even after compilation. If I manually drop the DLL in everything starts working. Guessing there's something wrong with the NuPkg?

This is on Umbraco 9.

Sitemap errors if no hostname is set on root node

If no hostname is set on the root content node (so, most Umbraco instances that contain a single site), the sitemap errors as it insists on finding a root node with domain name matching the current URL (roughly -

). Worse, the error is then suppressed by a try catch and a generic error message returned, nothing logged, so it's not obvious what went wrong.

At the very least this behaviour needs to be clearly documented, but it would be better if the sitemap returned the default site if no match is found by domain and any errors were properly logged (I notice per node errors are also discarded silently and only logged if the DLL is a debug build - guessing this is for performance reasons on large sites, but it's going to make trouble shooting a nightmare. Maybe needs to be configurable?).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.