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
I have setup my umbraco website using the Site Settings structure mentioned in the following blog post: http://cultiv.nl/blog/2010/12/19/tip-of-the-week-the-ultimate-site-structure-setup/
I have also installed the Cultiv Search Engine Sitemap package.
However, when I request www.mysite.com/cultivsearchenginesitemap or www.mysite.com/cultivsearchenginesitemap.aspx it seems to render the homepage content instead of the xml sitemap.
I can, however, get the xml site map by requesting www.mysite.com/home/cultivsearchenginesitemap.aspx and www.mysite.com/home/cultivsearchenginesitemap
I would like to be able to request the site map at the url www.mysite.com/cultivsearchenginesitemap, but I am unsure how I achieve this.
Can you access other child nodes om the "home" node without having home in the url?
Thanks for your reply.
There are no child nodes within the home node, due to the way I have structured my site, which is similar to the one in the blog post I mentioned in my first post.
My umbraco site structure is as follows:
Content- Site (using umbracoInternalRedirectId to make the Home node the homepage) -- Home -- About --- Sub Page 1 --- Sub Page 2 --- Sub Page 3 -- Contact -- Terms and Conditions
However, I have tested what you suggested above by adding a test page to the home node. I can access the test page at page www.mysite.com/home/test-page but not www.mysite.com/test-page, which I think makes sense due to the way I have structured the site?
I had this same issue with a 4.11.8 site at the weekend (worked fine on 4.7.2) and had a bit of a play around in a development setup.
It looks to me like the way the redirect works in 4.11.8 has been changed and therefore the redirection happens before the sitemap is displayed.
I can however create a document in my site called sitemap set the template to cultivsearchengine and then naviagate to sitemap.aspx, obviously I had to mess around with my doc types a bit so that I could create a document with the cultivsearchengine template.
I'm going to try tonight to make IIS handle the redirect rather than Umbraco and see if that also works, i'll keep you posted as this may be a cleaner way to do it.
I hope this helps.
Thanks for your reply. I had already implemented a similar solution to the one you have provided and I probably should have updated this to reflect that, but forgot all about it. But, thanks again anyway for providing a solution, I'm sure this will help others with a similar issue.
So did the "load masterpage" directly from URL functionality stopped working in 4.11+? I've the same issue in 6.1.5 but I don't see it documented anywhere, so I'm guessing it might be something else blocking this functionality in our installs.
ok got it working again in 6.1.5. I had a umbracoRedirect on the rootnode which took priority.
I have some issues in Umbraco v. 6.1.6 too, to show the sitemap xml.
I have the content stucture like this:
My sitemap content node has no template, has a doc type linked to my standard site page - within the content I have added the SearchEngineSitemap macro.
Hope this helps.
But I can't see why it shouldn't work with accessing mydomain.com/sitemap/ or mydomain.com/sitemap.aspx
it had works in previously versions of Umbraco.. I can access the node (xml file) by id e.g. mydomain.com/1416.aspx
and when I remove umbracoRedirect from da to HomePage node I can access the xml by template alias too, but as soon I add the redirect from the property on da node, it returns 404 error..
I think it might have something to do with the hostname set on da node.
e.g. when I on "da" node has set www.mydomain.com I can access the xml via mydomain.com/sitemap/ but not www.mydomain.com/sitemap/ and I get an 404 error..
and if I add mydomain.com to da node, mydomain.com/sitemap/ also returns an 404 error..
If I remove www.mydomain.com from hostname I can access www.mydomain.com/sitemap/ and likewise for mydomain.com ..
Thats all a bit strange. I do the same for a site I run - which resolves correctly with and without the www in front of it (it's running in 4.11 version). However I have the hostname in umbraco just set with the www and I handle the domain without the www in IIS - I can't get to the IIS box at the mo as i'm on a client site but I think I do it with a redirect. I could take a look for you later if it would help?
Site is www.corefituk.co.uk and corefituk.co.uk...as you can see corefituk.co.uk always redirects to the www address...
I have also use the package in Umbraco v.4.11.x versions where it works ...
this site is using Umbraco v.6.11.6 .. I'm not sure if it might be a bug..
Yup maybe a bug....need someone else to replicate if possible...do you have another v6 you could test it on?
I have a v6 setup somewhere - if I manage to get time I'll see if I get the same issue.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted