Looks like some of your images aren’t loading via https either.
Here’s what I would do:
Open your /wp-config.php file and add your site name, like so:
define( ‘WP_SITEURL’, ‘https://www.j2ds.cz’ );
define( ‘WP_HOME’, ‘https://www.j2ds.cz’ );
(Put this right above where it says “That’s all, happy blogging!” but make sure it doesn’t exists twice.)
This will make sure all content (such as uploaded images) are always loaded fromm that source (unless a specal uploads url has been set, which it hasn’t in this case).
Next, you might want to run an SQL command that’ll update all your old http links to https ones. Here’s how to do that:
1. Get into phpmyadmin and take a DB backup (export SQL)
2. Prepare this snippet: https://rudrastyh.com/tools/sql-queries-generator
3. Run it
You may need to log in to WP again after the domain has been changed.
Finally, your hosting could be set to only allow https traffic in the first place. Ideally you could set the HSTS header, or at least use .htaccess to always forward from http->https but that’s found easily when searching.
Hope that helps!
Thread Starter
jakudo
(@jakudo)
Hi @mononox
thanks a lot for your help. At the end I’ve done it a little bit differently (based on help from my theme developer) and I think now it’s ok.
At the beginning, I wasn’t able to edit the wp-config.php file. I user wrong FTP client. That’s the reason why I had to use a different approach.
However, thanks a lot for your help, I really appreciate that.
Best Regards,
Jakub