Copied to clipboard

Flag this post as spam?

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


  • Stephen Davidson 216 posts 392 karma points
    Jul 17, 2015 @ 16:35
    Stephen Davidson
    0

    url Alias to include the HTML extension

    I have a requirement whereby I need one of my pages to work if some enters the .html file extension...i.e

    www.domainname.com/pagename

    www.domainname.com/pagename.html

    Can this be done using alias?

    S

  • Mike Chambers 636 posts 1253 karma points c-trib
    Jul 19, 2015 @ 08:25
    Mike Chambers
    0

    I'm not too keen on aliases from the point of SEO and duplicated content across two urls.

    I'd be thinking that the www.domainname.com/pagename is your primary and all other "aliases" such actually 301 perm redirect to that page.

    So with core umbraco install, you can use the urlrewriting.net support via /config/urlrewriting.config, or use urlrewrite against iis in you web.config if you host supports it.

    Another option, though not sure if still around in u7 .. was uComponents 301redirction package.

  • Stephen Davidson 216 posts 392 karma points
    Jul 28, 2015 @ 13:33
    Stephen Davidson
    0

    Thanks Mike, its on Azure and I cant remember if it supports urlrewriting.net, I'm running v7 and I'm pretty sure uComponents throws a wobbly with v7.

    S

  • Mike Chambers 636 posts 1253 karma points c-trib
    Jul 28, 2015 @ 13:47
    Mike Chambers
    0

    http://dancarroll.org/blog/2013/03/iis-no-www/

    looks like azure supports the iis - urlrewrite by default. So you should be able to leverage that.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies