2

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.

1

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".

  • 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
  • I get a bit confused about the redirect methods. Ok, 301 redirect with PHP is one possibility, then we have the .htaccess... and furthermore updating the nameservers (or DNS?). When do I choose which method for what? – Chirag Jul 13 '13 at 22:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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