Just moved to https, my check list

Nuno

Well-known member
Hi

Just move my site to https and these where the steps I have taken:
  • 301 redirect from http to https
  • Create a new property in Google Search Console with https
  • Update facebook and twiter settings, both for integration and site references
  • Check templates for references to http
  • Replace all references in xf_post > message from http tp https
  • Replace all references in xf_user_profile > signature from http tp https
  • Replace all references in xf_conversation_message > message from http tp https
  • Activate image proxy
  • Change robots.txt sitemap address
  • Rebuild and submit sitemap
  • Change board info
Am I missing something?

Do I have to create a separate Google Analytics Property or just update from http to https?

Thanks
 
Thanks

What about Google Analytics Property? Do I need to change to https or create a new one?
 
We recently went HTTPS as well, Komodo PositiveSSL.

The only thing we can't get working currently is the image proxy, but that is due to server side restriction for our high traffic (I think even once we upgrade our server I am not going to use the built in image proxy).

If you use Google log-in/0Auth, you have to update the https:// link there too, or else it gives a error while members try to log in from your site.
 
Make sure the padlock is green and there is no grey shields top right in chrome saying script not run because insecure.

Do a google and make sure your old links go to https
 
Great list. Just a few questions.

  • 301 redirect from http to https
Do you do this in cpanel or via some SQL query?
  • Check templates for references to http
How do you do this. Just search templates for http?

  • Replace all references in xf_post > message from http tp https
Is this done with a SQL query if so what would that be?
  • Replace all references in xf_user_profile > signature from http tp https
As above
  • Replace all references in xf_user_profile > signature from http tp https
As above

  • Replace all references in xf_conversation_message > message from http tp https
As above
 
Great list. Just a few questions.

  • 301 redirect from http to https
Do you do this in cpanel or via some SQL query?


I use nginx and I do it in the configuration:

Code:
server {
    listen 80 default_server;
    listen [::]:80 default_server;
    server_name _;
    return 301 https://$host$request_uri;
}

Apache:

Code:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

  • Check templates for references to http
How do you do this. Just search templates for http?

Yes.

  • Replace all references in xf_post > message from http tp https
Is this done with a SQL query if so what would that be?
  • Replace all references in xf_user_profile > signature from http tp https
As above
  • Replace all references in xf_user_profile > signature from http tp https
As above

  • Replace all references in xf_conversation_message > message from http tp https
As above

Backup before running these queries .. example.com is your board url:

Code:
UPDATE xf_conversation_message SET message = REPLACE(message,'http://www.example.com','https://www.example.com');

UPDATE xf_user_profile SET signature = REPLACE(signature,'http://www.example.com','https://www.example.com');

UPDATE xf_post SET message = REPLACE(message,'http://www.example.com','https://www.example.com');
 
Great thanks.

my next question is that i currently have this in my .htaccess
Code:
RewriteCond %{HTTP_HOST} !^mydomain\.co.uk$ [NC]
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ http://mydomain.co.uk/$1 [R=301,L,QSA]

Do i need to get rid of this first as obviously this is forcing any www.mydomain.co.uk to mydomain.co.uk
 
Great thanks.

my next question is that i currently have this in my .htaccess
Code:
RewriteCond %{HTTP_HOST} !^mydomain\.co.uk$ [NC]
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ http://mydomain.co.uk/$1 [R=301,L,QSA]

Do i need to get rid of this first as obviously this is forcing any www.mydomain.co.uk to mydomain.co.uk

I'm not a htaccess expert since I only use nginx, but you need to ensure all requests to port 80 should be redirect to port 443 and the www version to non www.

I 'think' you'll need to create a vhost listening in port 80 and redirect http to https:

Code:
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://mydomain.co.uk/$1 [R=301,L,QSA]

Then, in the vhost that listens in 443 port:

Code:
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://mydomain.co.uk/$1 [R=301,L,QSA]

Test first ;)
 
For clarification ... let the http property how it is and create a new one with the https site .
You will end up with two sites in google console.
 
For clarification ... let the http property how it is and create a new one with the https site .
You will end up with two sites in google console.
Hmm, for some reason I have 2 already...Should I remove one of these, which one?

Screen Shot 2016-11-25 at 6.21.24 PM.webp
 
Back
Top Bottom