• I am working on a new website which is currently on Local on my mac and I tried to send someone else the URL to have a look but the images weren’t all loading so I read to change in the settings http to https which I did, but now I cant see the front end or backend of the site. Totally clueless how I can get the website back? Is it possible to fix?

    • This topic was modified 1 month, 1 week ago by markweller84.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Sarthak Nagoshe

    (@sarthaknagoshe2002)

    So, in this case you have 2 options:-

    Option 1: Update the Site URL in wp-config.php

    1. Open your site’s wp-config.php file using a text editor.
    2. Add these lines right above the line that says
      /* That's all, stop editing! Happy publishing. */
      define('WP_HOME','https://your-local-site-url'); define('WP_SITEURL','https://your-local-site-url');
      Replace your-local-site-url with the correct local address (e.g., https://yoursite.local).
    3. Save the file and try to access your site again.

    Option 2: Change the URL in the Local Database

    1. Open Local and go to your site.
    2. Go to the Database tab and open Adminer or phpMyAdmin.
    3. Find the wp_options table (or {your_prefix}_options if you use a custom prefix).
    4. Look for the siteurl and home rows, and change them back to https://your-local-site-url.
    5. Save the changes and reload the site.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.