• By mistake i changed the setting i WP menu from HTTP to HTTPS on WordPress-Adress (URL) and Website-adress (url).

    Now i cant access other pages that the start page, and have no access via 2-rup.dk/wp-admin

    I can go in via FTP, but which file do i have to replace (from Back up), so that the HTTPS mistake from the WordPress Settings mistake i made, will be replaced by my Backup file?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter LB2Rup

    (@lb2rup)

    I’ve made a lot of changes right before i messed up, by typing https

    So if anyone can tell me the name of the file to change/upload to solve this problem, I will be very greatfull

    You can put these lines of code in your theme’s functions.php:

    update_option( 'siteurl', 'http://example.com' );
    update_option( 'home', 'http://example.com' );

    change the example.com to your own domain of course.

    Then you can remove those lines again.

    Thread Starter LB2Rup

    (@lb2rup)

    I will try that 🙂

    Many Thanks

    Thread Starter LB2Rup

    (@lb2rup)

    Hi Rogier

    It worked

    Thank you so much for your help. You just saved my day 🙂

    WKR

    Lars

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WP setting set to HTTPS instead of HTTP’ is closed to new replies.