₦airaland Forum

Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,280,632 members, 4,999,568 topics. Date: Tuesday, 25 June 2019 at 06:45 AM

Help Please! - Migrating High Ranking Http Site To Https - Nagging Issues - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Help Please! - Migrating High Ranking Http Site To Https - Nagging Issues (339 Views)

Share Your Experience Switching From HTTP To HTTPS / How To Get High Ranking For Your Website In Google / How To Report A High Ranking Blog That Stole Your Content (2) (3) (4)

(1) (Reply) (Go Down)

Help Please! - Migrating High Ranking Http Site To Https - Nagging Issues by paschu: 10:33am On Mar 10, 2017
So I moved my one year old http wordpress site to a new host yesterday and deployed an SSL certificate on the new enviroment.

The issues now are:

1) the site is accessible on both https and http. I do not want this due to the "duplicate content" issue that it raises. I want ALL my http traffict redirected to the appropriate https destination SEAMLESSLY.

2) First, both the http and https versions of the site are rendering perfectly on Chrome (the https version comes out complete with green padlock). But the same https version gets completely broken on IE and FF. I don't know why.

Second the https version seems to load the mobile view of the site even on PC when viewed on IE and FF (the site is on responsive design).

Third both IE and FF brings up the "not fully secure" warning. They claim that some elements on the site (like images etc) are not secure - that's saying they are not on https. (But, as mentioned earlier, this issue no longer appears when you access the https version on Chrome. In fact Chrome fully labels the site as "secure" totally with the green bar (on PC) and padlock (on mobile).

Here are some of the steps I have taken but still could not get the issue fully resolved.

A) I installled a DB "find and replace" plugin and changed over 6000 internal urls from http to https.

B) I tried to enforce site-wide https protocol on the .htaccess file but got the site broken each time (As in, I got a white page with internal server error (500) message. The message says it's showing up due to "server misconfiguration"wink

C) I deployed Really Simple SSL plugin (which I do not want) but still could not get the issue fixed.

D) I already changed the wordpress url settings to https BEFORE installing the SSL plugin.

So guys, does anyone have an idea how I can get this issue resolved?

As stated above, here's what I want to achieve.

1) Enforce seamless site-wide https starndard ( having each http traffic redirected to the matching https url automatically).

2) Eliminate mixed content warnings and get the https site to render perfectly and responsively on ALL browsers (IE and FF inclusive).

NOTES:

1) The wp-admin section of the site is already https enforced on wp-configure file without issues - at least on Chrome (not yet tested on other browsers).

2) My new host don't seem to want to get their hands dirty in getting the job done. Just kept dishing out one brief instruction after the other. None gets into the heart of the matter.

Please decent helps and ideas are highly appreciated in advance.

Thank you

CC: Seun , Mynd44, Afam4Eva
Re: Help Please! - Migrating High Ranking Http Site To Https - Nagging Issues by mokoshalb(m): 10:56am On Mar 10, 2017
OK.. You have lots of issues here...
Now take this steps:

Uninstall all plugins you have installed for SSL
Now I will write you a valid htaccess file to do why you want once am free..
Then from your WordPress admin area change your default URL with http to https..

You are done!

As for mixed content... It has to with your theme..you will have to access your theme files and check all links and change them to https, most plugin do it wrongly...

Will send the htaccess later...
Re: Help Please! - Migrating High Ranking Http Site To Https - Nagging Issues by paschu: 11:27am On Mar 10, 2017
Thanks bro. Really appreciated.

Following...

* I already changed the wordpress url settings to https BEFORE installing the SSL plugin.

mokoshalb:
OK.. You have lots of issues here...
Now take this steps:

Uninstall all plugins you have installed for SSL
Now I will write you a valid htaccess file to do why you want once am free..
Then from your WordPress admin area change your default URL with http to https..

You are done!

As for mixed content... It has to with your theme..you will have to access your theme files and check all links and change them to https, most plugin do it wrongly...

Will send the htaccess later...
Re: Help Please! - Migrating High Ranking Http Site To Https - Nagging Issues by mokoshalb(m): 12:24pm On Mar 10, 2017
paschu:
Thanks bro. Really appreciated.

Following...

* I already changed the wordpress url settings to https BEFORE installing the SSL plugin.

Ok, now uninstall all plugins related to SSL..
Goto your wp-config file and add this define('FORCE_SSL_ADMIN, true); to line 57 or 58..
Then change your htaccess to this:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress


That should do the trick... no need for any plugin.
Re: Help Please! - Migrating High Ranking Http Site To Https - Nagging Issues by paschu: 5:06pm On Mar 11, 2017
Thanks Bro, although both the .htaccess and wp-configure hacks you just suggested were already deployed on the site before I created this thread. But I have now resolved the issues.

Here's what I did:

1. I enabled Transport Layer Security (TLS) on W3 Cache plugin

2. I deployed full http to https redirect on the .htaccess file with the following code:

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

3. I solved the FF (and hopefully IE) Mixed Content Warning and distorted display by simply deleting the old cookies left on the browser by my site.

Everything serms normal at the moment.

Thanks again for your help.






mokoshalb:
Ok, now uninstall all plugins related to SSL..
Goto your wp-config file and add this define('FORCE_SSL_ADMIN, true); to line 57 or 58..
Then change your htaccess to this:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress


That should do the trick... no need for any plugin.
Re: Help Please! - Migrating High Ranking Http Site To Https - Nagging Issues by mokoshalb(m): 5:31pm On Mar 11, 2017
good to hear, enjoy!
paschu:
Thanks Bro, although both the .htaccess and wp-configure hacks you just suggested were already deployed on the site before I created this thread. But I have now resolved the issues.

Here's what I did:

1. I enabled Transport Layer Security (TLS) on W3 Cache plugin

2. I deployed full http to https redirect on the .htaccess file with the following code:

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

3. I solved the FF (and hopefully IE) Mixed Content Warning and distorted display by simply deleting the old cookies left on the browser by my site.

Everything serms normal at the moment.

Thanks again for your help.






(1) (Reply)

How Can I Solve The Problem On My Wordpress Site Not Displaying On Opera Mini / Thinking Of How To Send Thousands Of Email At Time! I Have Solution To That / Will Investing 112,125 Naira Into Wordpress Business Plan With SEO Pay Off?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (0) (1) (2) (3) (4) (5) (6) (7) (8) (9)

Nairaland - Copyright © 2005 - 2019 Oluwaseun Osewa. All rights reserved. See How To Advertise. 69
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.