homepage Welcome to WebmasterWorld Guest from 54.234.147.84
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

    
301 redirects to "www" and Joomla
member22




msg:4507417
 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 ?

Thank you

 

tedster




msg:4507462
 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.

aakk9999




msg:4507601
 8:27 pm on Oct 12, 2012 (gmt 0)

@tedster, from reading the OP question, I got the impression that he says that all non-www pages get redirected to www home page.

I do not think this is a good idea - the redirect should be to www version of the non-www page, not to the home page.

So something in Joomla is probably not set up correctly.

g1smd




msg:4507602
 8:28 pm on Oct 12, 2012 (gmt 0)

Mass redirects to the site root are rarely a good idea.

I'd guess there's a double redirect chain there, not a single step.

levo




msg:4507603
 8:30 pm on Oct 12, 2012 (gmt 0)

Google would treat it as soft 404. I would check the .htaccess file.

tedster




msg:4507605
 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

g1smd




msg:4507609
 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved