Where Do Unprogrammed HTTPS pages Come From?

Sitepoint Members,
For no know reason, google is starting to index https versions of my pages of my site that don’t exist. When you click on the search engine result link of one of the https, I get “This Connection is Untrusted” from firefox and saying my site has an invalid certificate. Any ideas on what can cause this?

Thanks,

Chris

Possibly it is referring to your web hosts certificate, especially seeing you don’t mention installing one of your own.

You may be able to add a rewrite rule to redirect request back to http. Not sure how to do this off the top of my head.

According to my webhost, the files (html files) are likely in google’s servers and not in my webhost account. I noticed that the addresses showed there’s a folder in the home directory that also doesn’t exist. It appears that the folder that doesn’t exist in my webhost account contains the files that don’t exist in my webhost account, but apparently they do in google’s servers. How https fits into all this I don’t know but all pages using the non existent html files are https pages (that don’t exist). I used a Disallow in my Robots.txt and it stopped google from indexing the non existent files. Actually I did this months ago. Recently, I forgot why I put the disallow in and removed it thinking the problem was fixed by something I or my webhost did. Taking the Disallow out brought back indexing of the non existent files. I really don’t think that those files in google’s servers will ever go away.

Not that I’ve done this before but I have heard you can remove the old cache from Google webmaster tools

I made some progress on this finally.
Google talks about this problem ever so briefly
(find “https” on this page https://support.google.com/webmasters/answer/1269119?hl=en)

This site talks about the problem pretty well

and then these three others also offer simple htaccess solutions
https://sites.google.com/site/onlyvalidation/page/301-redirect-https-to-http-on-apache-server
http://wp-mix.com/htaccess-redirect-http-to-https/
http://justcoded.com/blog/301-redirect-for-https-traffic-in-wordpress-via-htaccess/

Mainly these solutions
RewriteCond %{SERVER_PORT} ^443$ [OR]
RewriteCond %{HTTPS} =on
RewriteRule ^(.*)$ http://yourdomain.com/$1 [R=301,L]

RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^(.*)$ http://yourdomain.com/$1 [R=301,L]

The first one, I don’t know, why would you want to turn https on?
Second, why would you want to turn it off

Third seems best because whether https is on or off it directs to http.

But the code above didn’t work for some reason.

One place Unprogrammed HTTPS pages Come From is accidental, malicious, or autogenerated SSL follders in your Home Directory (and maybe anyplace else). I found it and removed it. Let’s see what happens.