Blog posts about seo

  • Prevent EPiServer UrlRewrite

    November 09, 2010 | Tags: EPiServer, ASP.NET, SEO, Troubleshooting
    Sometimes it's needed to turn off EPiServers function for Url rewrite, like if you for instance writes a link-element with a canonical url (which helps search engine optimization (SEO)). The UrlRewriteProvider works as a HTTP-module, which means that it's running after your page is rendered, parsing all your Urls in a predefined list of elements and attributes.

    To prevent EPiServer's Url rewrite to occur do the following to your element:
    1) Add an id-attribute to your element
    2) Add a special EPiServer attribute to prevent the rewrite


    Original code:
    <link rel="canonical" href="the/url/not/to/rewrite" />

    Updated code:
    <link rel="canonical" id="canonical1" <%=EPiServer.Web.UrlRewriteProvider.UrlPreventRewriteAttribute %>="true" href="the/url/not/to/rewrite" />

  • Google Search Engine Optimization Starter Guide gets updated

    October 06, 2010 | Tags: SEO, Google
    Google has released an updated version of their Search Engine Optimization (SEO) Starter Guide. It's a great overview for learning what you can do to increase visibility and ranking on searchengines, like Google. Don't expect miracles, but it's a good read :)

    Here's a link to the Google Search Engine Optimization Starter Guide in PDF form.

  • A smarter way to include javascripts and CSS to reduce page load times

    July 26, 2010 | Tags: ASP.NET, SEO, C#
    Published my first article over at CodeProject about reducing load time by combining javascript and stylesheets in one, compressed file.

    Reduce the number of HTTP requests required to render the page, resulting in faster page loads by combining and compressing multiple javascripts into one javascript file and multiple CSS files into one style sheet file.

    Read full article at CodeProject

  • Specify your canonical link

    February 23, 2010 | Tags: SEO, Google
    Playing around with Google's great Webmaster Tool I noticed that a site I'm working on had several URLs containing the same meta description. This was caused not by generic meta data, but rather that Google saw a page reposted with a querystring for toggling an archive tree as a seperate page. This makes two or more pages with identical content which isn't a good thing search engine-wise.

    Enter the canonical link
    You can tell Google which page that should be used when indexing. This is done by adding a link element to your page's header.
    <link rel="canonical" href="http://www.mysite.com/blog.aspx" />
    This would divert indexing of URLs like http://www.mysite.com/blog.aspx?archive=feb.

    Read a far better explanation at Google's blog, how to specify your canonical meta data.