I have a umbraco 4.11 site I have a razor breadcrumb nav feature.I also have a URL rewrite (on IIS ) so that any requests to the root are directed to /home which helps with analytics et al.
Here is the problem. When selecting the root Home node on IE and Safari it is diverted to "index.aspx" not /home as expected.
Works fine on Firefox, Opera & Chrome.I don't have an index object to its captured by my 404 page.
I've tested it on IE and Safari - I get redirected to /home - so it seems OK to me.
It could potentially be some weird local caching that IE/Safari might use?
Try testing it out on another machine, or using a free trial of BrowserStack to spin up a new OS instance and browser - at least then you'll rule out any caching issues hopefully.
In terms of 301'ing the root (/) to /home - I'm not sure why you'd want to do this for Analytics reasons? It's also not great from an SEO perspective.
The general thought is that each 301 you implement for a URL, you 'loose' a bit of 'power' (although Matt Cutts has hinted otherwise, there's no clear statement). This is one reason to avoid 301-chaining. So, each time someone links to your root domain (refreshwebsites.co.uk) you'll potentially 'loose' some of that link 'power' since the 301 kicks in straight away.
A default page such as index.html, default.aspx or default.html are all 'files', whereas /home is a directory and is treated differently to a page. (the lines are a little blurred on the web - but think like the Windows file management system).
The main issue is that when someone hits your root domain, you're 301'ing them to another 'page' essentially (/home).
It's not a massive problem if it's a small/personal site, but my point was that really there shouldn't be a need to do it just for analytical reasons :)
Crazy default page error defaulting to index.aspx
I have a umbraco 4.11 site I have a razor breadcrumb nav feature.I also have a URL rewrite (on IIS ) so that any requests to the root are directed to /home which helps with analytics et al.
Here is the problem. When selecting the root Home node on IE and Safari it is diverted to "index.aspx" not /home as expected.
Works fine on Firefox, Opera & Chrome.I don't have an index object to its captured by my 404 page.
Any ideas where to start debugging?
Here is the url: http://refreshwebsites.co.uk/
Click on say "websites" then try and click the home node on the top left breadcrumb.
It doesn't work in IE,Crazy!
I've tested it on IE and Safari - I get redirected to /home - so it seems OK to me.
It could potentially be some weird local caching that IE/Safari might use?
Try testing it out on another machine, or using a free trial of BrowserStack to spin up a new OS instance and browser - at least then you'll rule out any caching issues hopefully.
In terms of 301'ing the root (/) to /home - I'm not sure why you'd want to do this for Analytics reasons? It's also not great from an SEO perspective.
The general thought is that each 301 you implement for a URL, you 'loose' a bit of 'power' (although Matt Cutts has hinted otherwise, there's no clear statement). This is one reason to avoid 301-chaining.
So, each time someone links to your root domain (refreshwebsites.co.uk) you'll potentially 'loose' some of that link 'power' since the 301 kicks in straight away.
Thanks for that.
What is the difference between what I am doing via a URL rewrite and a default page in IIS?
Isn't it the same?
regards
Its still not working for me.
Ill check on another browser in a different location.
Thanks again.
A default page such as index.html, default.aspx or default.html are all 'files', whereas /home is a directory and is treated differently to a page.
(the lines are a little blurred on the web - but think like the Windows file management system).
The main issue is that when someone hits your root domain, you're 301'ing them to another 'page' essentially (/home).
It's not a massive problem if it's a small/personal site, but my point was that really there shouldn't be a need to do it just for analytical reasons :)
I have disabled the rule.
At my site when typing in refreshwebsites.co.uk it resolves to refreshwebsites.co.uk/index.aspx which doesn't exist.
I have set home as the start default page but its an umbraco node so doesn't physically exist.
Perhaps I should use something else to handle the default page.
You were right. My browser was caching it. I had to dump the cache to get it working.
Thanks for the advise.
is working on a reply...