• Resolved kasunbiz

    (@kasunbiz)


    Website always redirects to https after copying to localhost, how to disable the this redirection

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @kasunbiz, thank you for reaching out. May I know if the Enforce SSL feature is enabled on your site? If so, could you please disable it and see it helps? If not, please update your wp-config.php file and update the instances of force SSL code to:
    define('FORCE_SSL_ADMIN',false);

    Ensuring that WP_HOME and WP_SITEURL are set to addresses that start with HTTP might also help:

    define('WP_HOME','http://localhost:8888');
    define('WP_SITEURL','http://localhost:8888');

    I hope the above helps, and please let me know how it goes.

    Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @kasunbiz, I hope the information provided helped resolve the issue. Since we haven’t received a response, I’ll mark this post resolved. If you still need some assistance, feel free to open a new support topic, and we’d be happy to assist. Thank you!

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

The topic ‘Website redirects to https after copying to localhost’ is closed to new replies.