• I purchased an SSL certificate and called the issuer to install it on the webpage. They indicated that they did. I logged into wp-admin and changed the forwarding to https. I can no longer access my webpage or the wp-admin console.

    When I called the certificate issuer they said that WordPress websites require manual installation. I am now stuck without access to my main webpage and the wp-admin settings.

    There is the error message that the webpage is redirecting incorrectly. Is there a way to remove the http to https forwarding without logging into wp-admin? I can access part of the website if I add the additional page information, such as *.com/about-us/

    Please let me know if there is a way to reverse this mistake.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • @pipelineutilities You will need to edit the wp-config.php file to fix this issue:

    You can access it via an FTP client or through file manager app in your hosting dashboard

    Simply edit the file and paste the following code before the line that says ‘That’s all, stop editing! Happy publishing’.

    define('WP_HOME','https://www.example.com');
    define('WP_SITEURL','https://www.example.com');

    Do not forget to replace example.com with your site domain. Save changes and reload.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    >> I purchased an SSL certificate <<

    For most sites, the *free* certs from letsencrypt.org will suffice. Ask your host if they support that.

    Thread Starter pipelineutilities

    (@pipelineutilities)

    @soberbanda I am receiving a 403 forbidden error when trying to connect with the FTP client. I’ve tried FileZilla, WinSCP and Cyberduck.

    It’s referencing a circular reference between the HTTP and HTTPS when trying to connect.

    @pipelineutilities You can also try editing URLs via your database:

    1. Access your database through PHPMyAdmin or Adminer database manager.

    2. Format SQL Query- Go to SQL tab and paste the following code:

    UPDATE wp_options SET option_value = replace(option_value, ‘oldurl.com’, ‘newurl.com’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’; UPDATE wp_posts SET guid = replace(guid, ‘oldurl.com’,’newurl.com’);
    UPDATE wp_posts SET post_content = replace(post_content, ‘oldurl.com’, ‘newurl.com’);
    UPDATE wp_postmeta SET meta_value = replace(meta_value,’oldurl.com’,’newurl.com’);

    3. Run SQL command – Click on ‘Go’ button to run the operation after you have made changes.

    4. Verify URL changes – If the operation went successfully, you will see a message in a green box. The system will also show you how many changes were made. After that, in 99% of cases, the error is fixed. If something went wrong, check if you entered everything correctly.

    Let me know if this works.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changed https forwarding without installing the certificate first’ is closed to new replies.