Please help! added https and now i have duplicate content

I had to get a SSL for my shopping cart from my server.

I’ve have duplicate content now.
All the pages are duplicated; both http and https pages showing in Scrutiny and SEO WebSite Auditor.

I completely deleted all the items from the cpanel and republished all of my files. No help…

I noticed in my SiteMap it shows the home page as
https://horseshoe-nail-cross.com/./ <–is that weird?

My Site Map only shows my https pages.

In the General tab of RW it would not let me use https://www.Horseshoe-Nail-Cross.com
I had to have the slash on the end
https://www.Horseshoe-Nail-Cross.com/

And under General tabe of RW I have

Do I still use Folder /
Then filename about_us.html

And Homepage is only
Index.html

Please please help me!

You now seem to have a ‘bandwidth exceeded’ error, earlier I was able to see your site with no problems.

After installing the SSL did you create an htaccess file with redirects?

Have you changed all the links in your site to https?

Have you notified Google webmaster tools of the new https page?

1 Like

DaveFox, Thank you very very very much for your help!

After installing the SSL did you create an htaccess file with redirects?

Yes, my server person said to use this:
RewriteEngine On
RewriteCond %{HTTP_HOST} [1](http://www.horseshoe-nail-cross.com) [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.horseshoe-nail-cross.com/$1 [R,L]

I added this because if someone typed in Horseshoe-Nail-Cross.com, they would not be redirected.
RewriteCond %{HTTP_HOST} Horseshoe-Nail-Cross.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.Horseshoe-Nail-Cross.com/$1 [R,L]

I tried to use these Redirects first, but it would not work saying too many redirects:

RedirectPermanent /index.html https://www.Horseshoe-Nail-Cross.com/index.html

/info/shipping.html https://www.Horseshoe-Nail-Cross.com/info/shipping.html

/info/insurance.htmlhttps://www.Horseshoe-Nail-Cross.com/info/insurance.html

/info/testimonies.html https://www.Horseshoe-Nail-Cross.com/info/testimonies.html

Have you changed all the links in your site to https?

I deleted all of the files on the server to remove all of the http pages.
Then I change the ‘general’ website address in RW to HttpS
And Publishing Website to HttpS
I noticed RW will only let me use this address with the backslash included… https://www.Horseshoe-Nail-Cross.com/

Have you notified Google webmaster tools of the new https page?

No, I have never used Google’s webmaster tools, but do want to. I’m wanting to wait until I get this straightened out. :frowning:
[/quote]


  1. www.horseshoe-nail-cross.com ↩︎

The redirects you have aren’t permanent (301). The second one you added is specific for only one page.

Try This instead:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 

But before you try the above, Have ytou checked each page on your site for mixed content? eith a tool like Why no Padlock?

1 Like

In addition to @teefers reply, I don’t see a problem with your site - I don’t need to add the backslash to get there, all your pages work and show a green padlock and if I use http I get redirected to an https page.

1 Like

Thank you Doug and Dave!

I have checked whynopadlock and get a lot of font errors that I don’t know where to go to fix them.
And if I do fix them in the RW code, whenever I need to reupload, won’t it erase the removals?

I used Scruity and it show 45 bad links from this:
http://html5shim.googlecode.com/svn/trunk/html5.js

Oh and SEO WebAuditor shows this:

You still have those old redirects in the htaccess file, that will give the 302 error.

Is the Theme using Google fonts or did you add them? If you didn’t add them then the Theme developer should change their theme. Right now if someone hits your site over HTTPS all the active mixed content will not load.

Just checked the home page and am getting 46 errors, not all fonts Jquery is not loading either, so basically your site is broken over HTTPS. Looks like the theme has a lot of old code.

I would remove those .htaccess redirects until you fix the mixed content

Sample home page errors:

I will clear out my .htaccess doc right now.

The Theme is using those font I guess?
I will convert the theme back to default to see.
It is MultiThemes / Anima theme.

But I can not find the mixed content which is regular http pages right??

Your certificate is still on the web server. By removing the redirects you can access any page with either HTTP or HTTPS. So if you want to “test” for mixed content with why no padlock, or check the console, just use the HTTPS version. Once you get the mixed content fixed then put the htaccess stuff I gave you above in.

In the meantime, I wouldn’t worry about running any “SEO” scans, as until you get the HTTPS going your site’s ranking is being penalized.

Oh thank you sooo much!!

I have reloaded with the default theme.
Apparently I chose to use those fonts because the errors on whynopadlock looks clear! :smile:

Did it fix the Jquery problems you saw?

Thank you!!!

Should I now put in the code you gave me?
Or would it be best to direct all the old http pages to the new ones?

Thank you!!!

Doug, you are a Star!!!
Thank you very very much!
You have no idea how grateful I am.
I was up till 4am trying to figure this out.
Now, that I am clear on whynopadlock, and I’ve put in your redirect, I’m ready to start tackling some https pages with mixed content issues and 404 codes I hope :smile:
Thank you!!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.