• Resolved norskereptiler

    (@norskereptiler)


    I managed to change my url to https:// my site instead of just https://
    Now i cant login to my page at all. i tried looking in my wp_config.php file, but all i can see is:
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘”mysite.no’);

    /** MySQL database username */
    define(‘DB_USER’, ‘mysite.no’);

    I changed the original name to: mysite , theres nowhere to change it to http instead of https.

    Can someone please help me?

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

    (@mi1lion21)

    Try this:

    1. Open wp-config.php and find these lines:

    define(‘WP_HOME’,’https://example.com’);
    define(‘WP_SITEURL’,’https://example.com’);

    2. Remove the s in https for both URLs.
    3. Save the wp-config.php file
    4. Try typing in the exact URL of your website such as https://example.com in your address bar of a browser

    Thread Starter norskereptiler

    (@norskereptiler)

    i used the code update site url and then it all worked out! my site isnt working properly (prob cause i tried to copy all my files in my root folder back from a copy. So i think im gonna do a clean install and just fix everything back from scracth. but thanks for the tip ??

    i cant remember the exact code, (i closed all my tabs) but at least i can acces my page again!

    Mik

    (@mi1lion21)

    Great!

    You can go ahead and mark the status as resolved. ??

    Thread Starter norskereptiler

    (@norskereptiler)

    resolved

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changed site url to https:// site instead of https://’ is closed to new replies.