How to fix HTTP/HTTPS duplicate content
-
I recently installed an SSL certificate on the site: https://libertywholesalesupply.com
Moz is now reading thousands of duplicate content pages because it is reading both http and https. I set up the configuration in Magento to auto-redirect the base URL, created a permanent redirect for the URL in the SEO settings, and adjusted the canonical settings.
What am I missing??
-
Thanks David
I already had the redirect set up in the htacces file. I think the site was crawled before I had added this to the file…total "occam's razor" moment
But now there is a few thousand duplicates because of the /catalogue /search etc… I disallowed that all in the robots file so now just have to wait another week!
-
Do you have access to the root folder of your site? Try adding this into your HTACCESS
#Redirect your Homepage from HTTPS to HTTP
RewriteCond%{HTTPS} on
RewriteRule^$ http://%{HTTP_HOST} [L,R]If that does not work, try adding this below the Rewritebase line:
RewriteCond %{HTTPS} off
RewriteRule (?!^(index.php/?|..css|..js|..gif|..jpe?g|..png|..txt|.*.ico|)$)^ https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L]RewriteCond %{HTTPS} on
RewriteRule ^(index.php/?|..css|..js|..gif|..jpe?g|..png|..txt|.*.ico|)$ http://%{HTTP_HOST}%{REQUEST_URI} [R=302,L,NC]
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 content on job sites
Hi, I have a question regarding job boards. Many job advertisers will upload the same job description to multiple websites e.g. monster, gumtree, etc. This would therefore be viewed as duplicate content. What is the best way to handle this if we want to ensure our particular site ranks well? Thanks in advance for the help. H
Technical SEO | | HiteshP0 -
Is duplicate content ok if its on LinkedIn?
Hey everyone, I am doing a duplicate content check using copyscape, and realized we have used a ton of the same content on LinkedIn as our website. Should we change the LinkedIn company page to be original? Or does it matter? Thank you!
Technical SEO | | jhinchcliffe0 -
Duplicate content / title caused by CAPITALS
What is the best way to stop duplicate content warning (and Google classing them as duplicate content), when it is caused by CAPITALS (i.e www.domain.com/Directory & www.domain.com/directory ). I try to always use lower case (unless a place name then i use Capitals for the first letter), but it looks like i have slipped up and got some mixed up and other sites will also be linking to Capitals Thanks Jon
Technical SEO | | jonny5123790 -
Duplicate content with same URL?
SEOmoz is saying that I have duplicate content on: http://www.XXXX.com/content.asp?ID=ID http://www.XXXX.com/CONTENT.ASP?ID=ID The only difference I see in the URL is that the "content.asp" is capitalized in the second URL. Should I be worried about this or is this an issue with the SEOmoz crawl? Thanks for any help. Mike
Technical SEO | | Mike.Goracke0 -
How to get rid of duplicate content
I have duplicate content that looks like http://deceptionbytes.com/component/mailto/?tmpl=component&link=932fea0640143bf08fe157d3570792a56dcc1284 - however I have 50 of these all with different numbers on the end. Does this affect the search engine optimization and how can I disallow this in my robots.txt file?
Technical SEO | | Mishelm1 -
How can i resolve Duplicate Page Content?
Hello, I have created one campaign over SEOmoz tools for my website AutoDreams.it i have found 159 duplicate page content. My problem is that this web site is about car adsso it is easy to create pages with duplicate content and also Car ads are placed byregistered users. How can i resolve this problem? Regards Francesco
Technical SEO | | francesco870 -
Http and Https Update
Guys, I was just wondering what is the current up-to-date resolution for HTTP and HTTPS, One of my client needs SSL for transaction,and they only need single page to be encrypted(SSLed) , So should I Force SSL that page only and direct entire HTTPS pages to HTTP to avoid duplicate page issue, or would it considered cloaking. It is been long time i did something similar, Or current Search Engines algo can handle it by themselves and i should just leave it . Thanks!
Technical SEO | | DigitalJungle0 -
Duplicate content across multiple domains
I have come across a situation where we have discovered duplicate content between multiple domains. We have access to each domain and have recently within the past 2 weeks added a 301 redirect to redirect each page dynamically to the proper page on the desired domain. My question relates to the removal of these pages. There are thousands of these duplicate pages. I have gone back and looked at a number of these cached pages in google and have found that the cached pages that are roughly 30 days old or older. Will these pages ever get removed from google's index? Will the 301 redirect even be read by google to be redirected to the proper domain and page? If so when will that happen? Are we better off submitting a full site removal request of the sites that carries the duplicate content at this point? These smaller sites do bring traffic on their own but I'd rather not wait 3 months for the content to be removed since my assumption is that this content is competing with the main site. I suppose another option would be to include no cache meta tag for these pages. Any thoughts or comments would be appreciated.
Technical SEO | | jmsobe0