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.
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
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.
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
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.
is working on a reply...