Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Alan Feekery 5 posts 25 karma points
    Nov 14, 2011 @ 15:12
    Alan Feekery

    SEO & Umbraco Preview Pages


    I've been working on my first Umbraco website which has to replace an old website that ranks quite well.

    I have made my way through the various duplicate content issues Umbraco has, .aspx & clean urls, non www/www and what not using URL rewrite in IIS. Ok, so nothing surprising there but my latest discovery has really confused me.

    http://mywebsite/somepage can also be accessed using http://mywebsite/nodeid.aspx

    Looking at the source there isn't any extra code injected into these preview pages to block bots, so has Umbraco got it's preview pages available to the public without any bot blocking code?


    Is there any way to inject <meta name="robots" content="noindex"> for pages being accessed via their node id?


  • Richard Soeteman 3796 posts 11734 karma points MVP
    Nov 14, 2011 @ 15:36
    Richard Soeteman

    Hi alan,

    This content you see is from  the published version of the document, not the content you will see in preview mode. Preview mode content is only visible when logged in as an Umbraco user.Test it by modifying something in the back-end, hit save without publish then logout and open the page based on its document id you will see the published version.

    Don't know if you can block based on url but there is always a canonical you can specify.



  • Alan Feekery 5 posts 25 karma points
    Nov 14, 2011 @ 19:03
    Alan Feekery

    Hi Richard,

    Using the canonical URL is the perfect solution, also thanks for clarifying the difference between the published & preview content.

    - Alan


Please Sign in or register to post replies

Write your reply to: