Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using WooCommerce and have selected "shop" page as homepage in WordPress settings. Therefore http://www.example.com and http://www.example.com/shop are one and the same page.

In this case what I should do? Use canonical element in header or 301 redirect? I have read several things about both, but I'm unable to judge what's perfect for this situation. I'm here to seek some advise from SEO experts.

share|improve this question
up vote 1 down vote accepted

If you want the "shop" webpage as homepage and if two webpages have the same content, you should apply a 301 redirect from http://www.example.com to http://www.example.com/shop. You need to do this to avoid duplicate content.

Moreover, I think it's useless to show two webpages with the same content to your visitors, it's a little bit confusing. That's why you should apply 301 redirect instead of rel="canonical".

share|improve this answer
Thanks for the suggestion mate. – Chirag Jul 13 '13 at 20:03
Unfortunately, this is causing a redirect loop for example.com/shop/myproduct – Chirag Jul 13 '13 at 20:58
Ok you just need to delete the other redirect that causes the problem. – Zistoloen Jul 13 '13 at 21:14
I placed this in .htacess : Redirect 301 /shop http://example.com so there's just one redirect... but it's causing redirect loop for example.com/shop/myproduct – Chirag Jul 13 '13 at 21:21
Ok for .htaccess redirects but look at DNS redirects managed on cPanel from your web hosting. – Zistoloen Jul 13 '13 at 21:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.