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
-
Simple duplicate content query
Hello Community, One of my clients runs a job board website. They are having some new framework installed which will lead to them having to delete all their jobs and re-add them. The same jobs will be re-posted but with a different reference number which in turn with change each URL. I believe this will cause significant duplicate content issues, I just thought I would get a second opinion on best practice for approaching a situation like this. Would a possible solution be to delete jobs gradually and 301 re-direct old URLs to new URLs? Many thanks in advance, Adam
Technical SEO | | SO_UK0 -
Gallery Causing Duplicate Content Issues
Hi! I have a gallery on my website. When you click to view the next image it goes to a new page but the content is exactly the same as the first page. This is flagging up a duplicate content issue. What is the best way to fix this? Add a canonical tag to page 2,3,4 or add a noindex tag? I have found a lot of conflicting answers. Thanks in advance
Technical SEO | | emma19860 -
Tips and duplicate content
Hello, we have a search site that offers tips to help with search/find. These tips are organized on the site in xml format with commas... of course the search parameters are duplicated in the xml so that we have a number of tips for each search parameter. For example if the parameter is "dining room" we might have 35 pieces of advice - all less than a tweet long. My question - will I be penalized for keyword stuffing - how can I avoid this?
Technical SEO | | acraigi0 -
Duplicate content in Magento
Hi all We got some serious issues with duplicate content on a Magento site that we are marketing. For example: http://www.citcop.se/varmepumpar-luft-luft/panasonic/panasonic-nordic-ce9nke-5-0kw http://www.citcop.se/panasonic/panasonic-nordic-ce9nke-5-0kw http://www.citcop.se/panasonic-nordic-ce9nke-5-0kw All of the above seem to work just fine as it is now but since they are excatly the same product they should ofcourse do a 301 redirect to the main page. Any ideas on how to sort this out in Magnto without having to resort to manual work in .htaccess? Have a great day Fredrik
Technical SEO | | Resultify0 -
Error msg 'Duplicate Page Content', how to fix?
Hey guys, I'm new to SEO and have the following error msg 'Duplicate Page Content'. Of course I know what it means, but my question is how do you delete the old pages that has duplicate content? I use to run my website through Joomla! but have since moved to Shopify. I see that the duplicated site content is still from the old Joomla! site and I would like to learn how to delete this content (or best practice in this situation). Any advice would be very helpful! Cheers, Peter
Technical SEO | | pjuszczynski0 -
Duplicate Page Content and Titles
A few weeks ago my error count went up for Duplicate Page Content and Titles. 4 errors in all. A week later the errors were gone... But now they are back. I made changes to the Webconfig over a month ago but nothing since. SEOmoz is telling me the duplicate content is this http://www.antiquebanknotes.com/ and http://www.antiquebanknotes.com Thanks for any advise! This is the relevant web.config. <rewrite><rules><rule name="CanonicalHostNameRule1"><match url="(.*)"><conditions><add input="{HTTP_HOST}" pattern="^www.antiquebanknotes.com$" negate="true"></add></conditions>
Technical SEO | | Banknotes
<action type="Redirect" url="<a href=" http:="" www.antiquebanknotes.com="" {r:1"="">http://www.antiquebanknotes.com/{R:1}" />
</action></match></rule>
<rule name="Default Page" enabled="true" stopprocessing="true"><match url="^default.aspx$"><conditions logicalgrouping="MatchAll"><add input="{REQUEST_METHOD}" pattern="GET"></add></conditions>
<action type="Redirect" url="/"></action></match></rule></rules></rewrite>0 -
How do I fix duplicate content with the home page?
This is probably SEO 101, but I'm unsure what to do here... Last week my weekly crawl diagnostics were off the chart because http:// was not resolving to http://www...fixed that but now it's saying I have duplicate content on: http://www.......com http://www.......com/index.php How do I fix this? Thanks in advance!
Technical SEO | | jgower0