Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I have added the blog package to my Umbraco site. I would now like to refer to the blog by it's subdomain (blog.sitename.com instead of sitename.com/blog.aspx) I have set up the hostnames and it is all working correctly. The alternative links in the properties section are: http://sitename.co.nz/blog.aspx http://blog.sitename.co.nz and both links work correctly. But when I add a link on a content page, or run my menu XSLT, it picks up the link for http://sitename.co.nz/blog.aspx. Is there a way of this defaulting to http://blog.sitename.co.nz instead? If there is no way of getting this working then I could add a redirect. the code I have is: redirectMode="Permanent" redirect="Domain" rewriteUrlParameter="ExcludeFromClientQueryString" virtualUrl="http://sitename.co.nz/blog.aspx" destinationUrl="http://blog.sitename.co.nz" ignoreCase="true" /> But this isn't working either. Any ideas? Thanks Paul
It's because you have to do like this: redirect="Domain" redirectMode="Permanent" rewrite="Domain" virtualUrl="http://sitename.co.nz/blog.aspx" destinationUrl="http://blog.sitename.co.nz/" ignoreCase="true" /> Greetings
is working on a reply...
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.
Continue discussion
Alternative links for blog package
Hi,
I have added the blog package to my Umbraco site. I would now like to refer to the blog by it's subdomain (blog.sitename.com instead of sitename.com/blog.aspx)
I have set up the hostnames and it is all working correctly. The alternative links in the properties section are:
http://sitename.co.nz/blog.aspx
http://blog.sitename.co.nz
and both links work correctly.
But when I add a link on a content page, or run my menu XSLT, it picks up the link for http://sitename.co.nz/blog.aspx.
Is there a way of this defaulting to http://blog.sitename.co.nz instead?
If there is no way of getting this working then I could add a redirect. the code I have is:
redirectMode="Permanent"
redirect="Domain"
rewriteUrlParameter="ExcludeFromClientQueryString"
virtualUrl="http://sitename.co.nz/blog.aspx"
destinationUrl="http://blog.sitename.co.nz"
ignoreCase="true" />
But this isn't working either.
Any ideas?
Thanks
Paul
It's because you have to do like this:
redirect="Domain"
redirectMode="Permanent"
rewrite="Domain"
virtualUrl="http://sitename.co.nz/blog.aspx"
destinationUrl="http://blog.sitename.co.nz/"
ignoreCase="true" />
Greetings
is working on a reply...
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.