Mixing http and https

hi there,

our pages were working perfectly until hosting company changed their servers. now there is mixing of https and http references. the first problem comes with window._wpemojiSettings. it tries to use “source”:{“concatemoji”:"http://www.munkkimiehet.fi/m/wordpress/wp-in… how to fix the problem. not able to login anymore to wordpress.

Hi @aatos55,

You may need to manually set your site url.

There are several ways to set your url but the easiest is to edit your wp_config file.

To do this, access your site files via ftp.

Next, locate the folder containing your WordPress file and double click to open it. If WordPress is installed in your primary domain (e.g www.yourdomain.com), then this folder would be public_html.

Scroll down to find wp_config.php file. Right click on it, select View/Edit, and permit FileZilla to open it using your local text editor (if that popup appears).

Add these two lines of code, and save the file:

define('WP_HOME','https://www.munkkimiehet.fi');
define('WP_SITEURL','https://www.munkkimiehet.fi');

After clicking save, FileZilla will ask you if you want to upload the edited file. Select “Yes” and wait for the upload to complete.

Now go to your site url and try to login.

Hope this helps.

SITEURL and HOME are correct in wp-options table but problem can be seen on the snippet

Hi There @aatos55

Could you please try following this resource and see if that helps (https://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/).

Please make sure to clear all caches when testing your site again (https://www.wpbeginner.com/beginners-guide/how-to-clear-your-cache-in-wordpress/).

Let us know how it goes.
Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.