• Hello,

    I’ve just moved my web from http to https. Everything works great except one item in the main menu. In the main menu is “Dom?” (Home). This is the only one link, which directs to https://www.j2ds.cz and not to https. All other oinks are correct.
    Any idea how to change it?

    Thanks,
    Jakub

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘http -> https – problem with menu’ is closed to new replies.