7 votes

uSEO PRO

uSEO PRO With Focus Keyword

The project is a property editor that will store information for SEO purposes. Such as Page Title, Meta Description, Keywords and Robot data.

This information is then displayed to an editor in a way that is akin to Google search page.

Also included is an optional tool for the editor to use a FOCUS KEYWORD for the page - The editor will be presented with a list of auto completed suggestions related to the focus keyword.

The page is also evaluated to give feedback to the editor to indicate whether the focus keyword is found in relevant attributes, such as the URL, Title, Description and Content.

 

How To Install & Use

1. Install the package as you would any other simple package. 

2. Add a new Data Type of type uSEO PRO.

3. Add as a property to any document type you wish to use it on. The code example below is based on a property with alias seoFields.

 

How To Use In The Frontend

1. In you Master Page in between the <head> tags, make a reference to a partial view @{ Html.RenderPartial("_uSeoPro"); }

2. Create a new partial view _uSeoPro.cshtml and copy the code below.

@inherits Umbraco.Web.Mvc.UmbracoTemplatePage

@{

    var seo = CurrentPage._seoFields;

    if(!IsNullOrEmpty(seo))

    {

        if(seo.noseo == null || seo.noseo == false)

        {

            var title = IsNullOrEmpty(seo.title) ? CurrentPage.Name : seo.title;

            <title>@title | Static Title End</title> 

            if(IsNullOrEmpty(seo.keywords) == false){

                <meta name="keywords" content="@seo.keywords" />

            }

            if (IsNullOrEmpty(seo.description) == false){

                <meta name="description" content="@seo.description" />

            }

            if(IsNullOrEmpty(seo.robots) == false) {

                <meta name="robots" content="@seo.robots" />

            }

        }       

    }

}

 

@functions {

    private bool IsNullOrEmpty(object property)

    {

        return property == null || String.IsNullOrEmpty(property.ToString());

    }

}

Screenshots

Package owner

Luke

Luke

Luke has 255 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
8.2.x (untested)
8.1.x (untested)
8.0.x (untested)
7.15.x (untested)
7.14.x (untested)
7.13.x (untested)
7.12.x (untested)
7.11.x (untested)
7.10.x (untested)
7.9.x (untested)
7.8.x (untested)
7.7.x (untested)
7.6.x (untested)
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (100%)
7.1.x (100%)
7.0.x (100%)
6.1.x (0%)
6.0.x (0%)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Luke
  • Created: 11/05/2015
  • Current version 1.0
  • License MIT
  • Downloads: 1330