I went to search my site to see how Google is indexing it and it is for some reason all jacked up.

I am seeing some pages indexed as HTTPS and then the same pages as not. Also the meta description is jacked up on some of them but correct on others.

I have no clue why this is happening. Any tips?

  • Have you verified your site with Google Search Console? Do you use canonical tags? Do you have an XML site map? Aug 15, 2016 at 7:55
  • 1
    Also consider having HTTP redirected to HTTPS.
    – closetnoc
    Aug 15, 2016 at 15:15

1 Answer 1


this happens, because of missed redirection from http to https: pages are available with both protocols. Create search console properties for both kinds, and then redirect all http urls to https, with something like, in PHP

if ($_SERVER["SERVER_PORT"] != 443) {
$redir = "Location: https://" . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
header("HTTP/1.1 301 Moved Permanently");

or, for Apache

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.