Adrian Cini

Adrian Cini - Web Developer and internet marketer personal blog

On page seo tool for dotnetblogengine

Blog engine on page seo tool

This article is about seting up a custom on page seo tool for social sharing, author information from google plus and og content graph customisations.

Hey there do you like this blog, maybe no, as it is not word press, which happens to be the most popular blog engine out there. Wordpress is great! It is full of extensions and is maintained by a huge community. Well I can not say I love minorities or I swim agianst currents but in my case my blog is powered by and loving it.

on page seo tool Log4net

I am really satisfied with this blog engine and had a great experience overall, apart from a couple of down time days I had due to a required upgrade. One may argue that having to use a Windows type of hosting is a downside as these tend to be more expensive, but this is fine by me as I am a .Net developer and I am running most of my staff using Arvixe windows hosting. An other downer is the fact that the lacks the vast out of the box plugins one would find with wordpress but once you get the source code of the engine and go through a couple of tutorials you will start appriciating the fun of being on the drivers seat rather than hoping to find something that everyone else is using being able to build your own seo tools.

Ultimately why did I go for Mainly because it is written in C# and is structured well enough that anyone with some basic understanding of how webforms and MVC works can state that the sky is the limit.

Getting started with

If like me you are paying customer of an Arvixe windows hosting you could either install from there web app gallery or upload a complied soultion from Code Plex but I would strongly advice you to get the source code and do a standard release using Web Deploy Publishing. This needs to be setup from your Arvixe account and it is as easy as clicking publish in visual studio.

Ahh very important when you publish blogengine to Arvixe you set the File publish settings carefully as I faced some issues like "Compiler Error Message: The compiler failed with error code 1. (VBS-599-93682)". These settings solved my problem.

  • Remove additional files at destination
  • Precompile during publish
  • Exclude files from the App_Data folder web publishing settings 
Also I suggest you switch to database storage this can be easily done by changing your web.config. And as a preventive measure always take a backup of the App_Data folder on the server before you do a release.

Once you get the source building on your machine getting started with the customisations of this blog engine is easy and intuitive. I must say so far I feel a bit disappointed by the comunity and have not found an active comunity on linkedin or facebook yet the search continues...

My gift to the people - On page seo tool

It started as a small useless extension I had described in my blog as building an obsolete tool but it evolved into one of my best allies in SEO and social marketing. And I am happy to share my on page seo tool with you

Setup the extension

The extension can be setup by either getting the source code from my github repository for on page seo tool or else try using the compiled library. If you are using the source code option then all you need to do is to place it in the Custom/extension folder rebuild the solution and publish.

OnPageSeo Log4net enable extension

The extension consists in the following on page seo tools:

  • Google Author

    As described in my previous article about Google Authorship this has been recently put aside from Google, yet I believe it gives your articles a sense of ownership. What I am referring to is the Author picture and description at the end of each article. The author description can be set from your blog user profile information: "admin/#/users/profile". It is important that you update this information and use the same profile when publishing posts. Also the picture for the profile is taken from your google plus account. I tried to use custom fields supported in blog4net but did not manage, so I had to resort to the web config. To show author details you need to add a web.config key in the section where XXX is the value is your google plus profile id. If you do not have a google plus profile than it is a right time to do it.

  • Content graphs

    Using the established Open Graph protocol every article will extract the following meta property

    • og:title : The title of the article as set from the post editor in the blog
    • og:description : The description property of the article as set from the settings of the post editor in the blog
    • og:url : The absolute url to the article
    • og:image : The first image in the article
    Thanks to these meta properties when sharing to facebook and other social it enables the article to become a rich object in a social graph thus specifying the mentioned properties when displayed. In Order to enable this functionality you will need to manually change your master page heading to html lang="en" prefix="og:" in the template/xxx/site.master

  • Social sharing for Facebook

    Facebook is a great source of traffic. No on page seo tool is complete without facebook integration so this is yet another share on facebook button.

  • Social sharing for LinkedIn

    Depending on the content of your blog linkedin can be a great place to share content. In my case being a personal blog linkedin is one of the best sources, at least so far. What I would advice is to take some time and join some relevant groups on linked in and when you share a post you share also to such groups.

  • Social sharing for Google Plus

    Google plus is googles own social network, and though it falls into the same category as Facebook, it is not a Facebook. To me I think that they are not competing for the same crowd and when I am doing a marketing exercise neither am I.

  • Social sharing for Twitter

    What I love about twitter is that it is so short and straight to the point that is makes building followers so dam easy. Share and followers will come.


Being a software developer and an online marketing specialist building seo tools has always been one of my goals. So prepare for more being updates to this first version of on page seo tool and other more to come. Thanks for reading and should you have any difficulties setting up the tool or further suggestions please feel free to contact me.

About the author

Adrian Cini - worked in different markets like gaming , marketing, regulatory bodies, government etc. Passionate in Internet marketing, search engine optimisation and development frameworks.

Comments (2) -

  • Andy McKay

    5/5/2015 7:04:54 AM | Reply

    Hi Adrian,
    You make a good point that although BlogEngine may lack the vast choice of plug-ins that WordPress has, it is arguably easier (with a little knowledge) to roll your own – which can be both satisfying and advantageous when you have a specific requirement.  Not all people can do that however, so it’s good to see user developers motivated to contribute something back for the benefit of others.
    I had a look at the code for your version 1 “On Page CEO Tool for BlogEngine” and have a couple of observations.
    For og:image
    The code that retrieves the first image source appears to assume that the “href” link will be relative, this might be problematic, since BlogEngine allows for the choice of different editors and image insertion. So some image links can for example end up being absolute, base 64 or BlogEngine format “/image.axd?picture=2013%2f12%2forange-mobile-tv.jpg”.

    Author Summary
    This might just be a question of taste, but if Google Authorship is no more, might it be better to grab the author’s PhotoUrl directly from the user profile and link it to a list of author posts and include rich snippets in that markup (Author summary with rich snippets example at Perhaps including g+ profile as option along with other social links

  • Adrian Cini

    5/5/2015 11:02:02 PM | Reply

    Thanks for the feedback.
    For the image I believe it is good SEO practice to have the image name in this format but yes you are right, most users would use the add image functionality. Again kudos for the google Authorship I ll put in an default to profile image solution, in version 2.

Pingbacks and trackbacks (1)+