Woocommerce Duplicate Page Content Issue
-
Hi,
I'm receiving a duplicate content error. It says that this url:
is a duplicate of this:
http://kidsinministry.org/childrens-ministry-curriculum
I'm using wordpress, woocommerce, and not really sure how to even address this. I tried adding this to .htaccess but it didn't redirect the url:
301 Redirects
Redirect 301 https://kidsinministry.org/childrens-ministry-curriculum/?option=com_content&task=view&id=20&Itemid=41 http://kidsinministry.org/childrens-ministry-curriculum/
Anyone have any ideas?
Thanks!
-
Andrew,
Your canonical needs to exist - so for the page you mentioned you need to update the url to the one with the trailing slash. In fact - for all pages on your site you should check if the canonical exist (Screaming Frog can do miracles here)
The issue with the https is a bit different - you should not have both versions (http/https in parallel) - so if your https certificate is ok you should put your site in https & redirect the http version to https
This can be done by adding these lines to your htaccess:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}If you switch to https - you must make sure that all the resources you call on a page are also on HTTPS - if not, users could get a security warning. There is an article on how to migrate site to HTTPS on Yoast: https://yoast.com/move-website-https-ssl/
If your site is on https - your canonicals need to be in https as well. A tool like Screaming Frog can help you to check that both (https & canonicals are ok) - it's not free - but certainly worth the investment.
Hope this helps - don't hesitate to ask if it's not clear
Dirk
-
Hi Dirk,
Thank-you for your further clarification.
So, am I just needing to get the current canonical url on the homepage to have a forward slash at the end of the url then along with updating the "http" to "https"?
Currently, when I visit the homepage it says the canonical is this: http://kidsinministry.org/childrens-ministry-curriculum (no https and no forward slash at the end).
Thanks for your help!
Andrew
-
Hi Andrew,
You use the Yoast e-commerce plugin - and I assume at some point you defined a canonical url for the page you mentioned.
In short - with a canonical url you ask Google not to index this page: https://kidsinministry.org/childrens-ministry-curriculum/?option=com_content&task=view&id=20&Itemid=41 but the url that you have put as canonical url which is this page: https://kidsinministry.org/childrens-ministry-curriculumIn order to respect this request - this url need to exist on your site. However - this url is redirected to https://kidsinministry.org/childrens-ministry-curriculum/ with a 301 redirect (basically stating: hey, this url doesn't exist anymore on this location, but you can find it here).
So, if you update the canonical url from https://kidsinministry.org/childrens-ministry-curriculum to https://kidsinministry.org/childrens-ministry-curriculum/ your problem is solved.
There is no need to redirect https://kidsinministry.org/childrens-ministry-curriculum/?option=com_content&task=view&id=20&Itemid=41 to https://kidsinministry.org/childrens-ministry-curriculum/ as the canonical is already taking care of the duplicate content.
More background info on canonical url's can be found here: https://moz.com/learn/seo/duplicate-content
Hope this clarifies, if not, let me know,
rgds,
Dirk
-
Hi Dirk,
Thank-you for taking the time to respond. I sure appreciate it. I am fairly new with SEO and what you are saying is a little challenging for me to understand. Can you please attempt to break this down a little more for me? I would really appreciate it.
Sincerely,
Andrew
-
Hi,
The url https://kidsinministry.org/childrens-ministry-curriculum/?option=com_content&task=view&id=20&Itemid=41 has https://kidsinministry.org/childrens-ministry-curriculum - however this canonical url doesn't exist - it's redirected to https://kidsinministry.org/childrens-ministry-curriculum/
If you update the canonical to https://kidsinministry.org/childrens-ministry-curriculum/ you should be fine, there is no need to redirect the url's.
rgds,
Dirk
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Duplicate page titles for blog snippets pages
I can't figure the answer to this issue, on my blog I have a number of pages which each show snippets and an image for each blog entry, these are called /recent-weddings/page/1 /2 /3 and so on. I'm getting duplicate page titles for these but can't find anywhere on Wordpress to set a unique title for them. So http://www.weddingphotojournalist.co.uk/recent-weddings/…/2/ has the same title as http://www.weddingphotojournalist.co.uk/recent-weddings/…/3/
Technical SEO | | simonatkinsphoto0 -
How to deal with duplicated content on product pages?
Hi, I have a webshop with products with different sizes and colours. For each item I have a different URL, with almost the same content (title tag, product descriptions, etc). In order to prevent duplicated content I'am wondering what is the best way to solve this problem, keeping in mind: -Impossible to create one page/URL for each product with filters on colour and size -Impossible to rewrite the product descriptions in order to be unique I'm considering the option to canonicolize the rest of de colours/size variations, but the disadvantage is that in case the product is not in stock it disappears from the website. Looking forward to your opinions and solutions. Jeroen
Technical SEO | | Digital-DMG0 -
Duplicate Home Page
Hi everyone! So, I;m using the crawl diagnostics in Moz and it's telling that I've got duplicate content for these two pages: http://www.bridgelanguages.com/
Technical SEO | | Bridge_Education_Group
http://www.bridgelanguages.com/index.php?p=3233&source=3 Would a redirect from the 2nd page to the 1st one be a solution? I'm not even sure where that 2nd link is on the site? Any suggestions or has anyone experienced the same? Thanks! Kelly0 -
Cloud Hosting and Duplicate content
Hi I have an ecommerce client who has all their images cloud hosted (amazon CDN) to speed up site. Somehow it seems maybe because the pinned the images on pinterest but the CDN got indexed and there now seems to be about 50% of the site duplicated (about 2500 pages eg: http://d2rf6flfy1l.cloudfront.net..) Is this a problem with duplicate content? How come Moz doesnt show it up as crawl errors? Why is thisnot a problem that loads of people have?I only found a couple of mentions of such a prob when I googled it.. any suggestion will be grateful!
Technical SEO | | henya0 -
Is there an easier way from the server to prevent duplicate page content?
I know that using either 301 or 302 will fix the problem of duplicate page content. My question would be; is there an easier way of preventing duplicate page content when it's an issue with the URL. For example: URL: http://example.com URL: http://www.example.com My guess would be like it says here, that it's a setting issue with the server. If anyone has some pointers on how to prevent this from occurring, it would be greatly appreciated.
Technical SEO | | brianhughes2 -
API for testing duplicate content
Does anyone know a service or API or php lib to compare two (or more) pages and to return their similiarity (Level-3-Shingles). API would be greatly prefered.
Technical SEO | | Sebes0 -
Does having a page (or site) available on HTTP and HTTPS cause duplication issues?
Say I've got a site that can be accessed using either protocal (i.e. HTTP and HTTPS), but most (if not all of the links) are pointing to the HTTP versions. Will it cause a problem if I start link building to HTTPS versions? In other words does google see http://mysite.com as the same page as https://mysite.com? Thanks
Technical SEO | | PeterAlexLeigh0 -
Duplicate content connundrum
Hey Mozzers- I have a tricky situation with one of my clients. They're a reputable organization and have been mentioned in several major news articles. They want to create a Press page on their site with links to each article, but they want viewers to remain within the site and not be redirected to the press sites themselves. The other issue is some of the articles have been removed from the original press sites where they were first posted. I want to avoid duplicate content issues, but I don't see how to repost the articles within the client's site. I figure I have 3 options: 1. create PDFs (w/SEO-friendly URLs) with the articles embedded in them that open in a new window. 2. Post an image with screenshot of article on a unique URL w/brief content. 3. Copy and paste the article to a unique URL. If anyone has experience with this issue or any suggestions, I would greatly appreciate it. Jaime Brown
Technical SEO | | JamesBSEO0