My site http://dearlymyfrank.com.au used to have an SSL cert, so used to be https.
Now instead there is an SSL cert for https://clients.dearlymyfrank.com.au
It’s been up for quite a few weeks now, and I’ve submitted my sitemap to Google, but the results are still like this:
It’s grabbing the “Portal” info from https://clients.dearlymyfrank.com.au
I’ve looked for answers - first I added Disallow: /clients/ to my robots.txt to stop it fetching my subdomain, but that didn’t help the issue.
Then did some more research and I added this to my .htaccess file:
RewriteCond %{SERVER_PORT} ^443$ [OR]
RewriteCond %{HTTPS} =on
RewriteRule ^(.*)$ http://dearlymyfrank.com.au/$1 [R=301,L]
So now my .htaccess looks like this:
BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule ^download/(.+)$ /wp-content/force-download.php?file=uploads/$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{SERVER_PORT} ^443$ [OR]
RewriteCond %{HTTPS} =on
RewriteRule ^(.*)$ http://dearlymyfrank.com.au/$1 [R=301,L]
</IfModule>
END WordPress
php_value upload_max_filesize 8M
php_value memory_limit 64M
What am I doing wrong? Can anyone help?
rpkamp
January 15, 2014, 10:27pm
4
Since https://yoursite.com/ shows an entirely different site from http://yoursite.com/ I’m guessing it is configured in a different VirtualHost, and probably even points to a completely different directory.
Could you describe what VirtualHosts you have running in Apache?
I don’t know how to access Apache… I’m on shared hosting. All I see in cPanel is Apache Handlers, but I assume that’s not what I need to access.
ralphm
January 16, 2014, 12:18am
6
I guess the real question is—How do you have things set up? You seem to have done more that just remove the SSL cert from the domain. As Remon says, the http version of your site is not the same as the https version.
Hmm, I think I might have to consult my web host - you are right. It’s weird.
Yes, it was a problem with how it was set up apparently and the SSL. The clients.dearlymyfrank.com.au needed to be on a separate cPanel account. So that’s all done now.
Hoping Google will update the results… we’ll see.
https://dearlymyfrank.com.au still doesn’t redirect to http://dearlymyfrank.com.au though when I type it in my browser (comes up with the untrusted connection)
Could it be a problem with there being other WP rewrites in the .htaccess?
Okay, I’ve tried every kind of rewrite in the .htaccess and my host said they won’t work because you need an SSL for them to work.
Any ideas on redirecting https to http when you don’t have an SSL?
ralphm
January 18, 2014, 12:14am
10
This is not my area at all, so all I can do is offer things I’ve found online, such as this: http://stackoverflow.com/questions/12999910/https-to-http-redirect-using-htaccess
Worth a try, anyhow.
Tried that one (and almost every other one I found through Google) and no luck unfortunately.
Just hoping Google will update to the correct results, but doesn’t look like it so far.
ralphm
January 18, 2014, 12:45am
12
I just googled your site, and all the links have changed to [noparse]http://.[/noparse] Looks like you are out of the woods, for whatever reason.
Off Topic:
I love the site name, by the way. Very distinctive and winsome.
Hmm, hasn’t changed for me. Still showing https and grabbing client portal for the home page.
And thank you so much!
ralphm
January 18, 2014, 1:18am
14
Perhaps try a different browser (just to test it) and refresh your own browser. It’s definitely changed for me.
Yes, done it in different browsers, the phone, the ipad and emptied caches etc. This is when you search for “dearly my frank”?
ralphm
January 18, 2014, 2:35am
16
Yes.
Perhaps your ISP has a cached result or something. Try the wifi at your local coffee shop perhaps.
Thanks heaps will wait for it to update this end