Msg#: 4507415 posted 1:21 pm on Oct 12, 2012 (gmt 0)
I was looking at the subpages of my website www.mywebsite.com/my-sub/page.html and i noticed that when I type mywebsite.com/my-sub/page.html ( without the www.) in front it I get re-directed to the homepage.
Is that a known issue of joomla and does it mean that google cache both version of my site causing site wide duplicate content ?
Msg#: 4507415 posted 3:11 pm on Oct 12, 2012 (gmt 0)
Without that redirect you would have duplicate URLs. As long as the redirect is a 301 status and not a 302, and as long as the redirect happens in just one step - then I'd say your Joomla installation is set up correctly.
Msg#: 4507415 posted 8:34 pm on Oct 12, 2012 (gmt 0)
My apology, I read too fast and didn;t grasp the whole situation.
I agree with the other replies - do not redirect all requests to the home page, but rather to the same filepath with the "www" added to the hostname.
I don't think this error is inherent in Joomla, at least not from my experience. It's good you noticed it. There's lots of discussion in our Apache Forum [webmasterworld.com] about the correct way to create a better 301 redirect using .htaccess
Msg#: 4507415 posted 8:49 pm on Oct 12, 2012 (gmt 0)
This is one of the reasons I always recommend that when setting up WMT, all sites should be registered both with www and non-www URLs. The WMT non-www reports can reveal some major problems with site configurations that are not seen when looking only at the www data.