wordpress stop redirect to https

To stop WordPress from redirecting to HTTPS, follow these steps:

  1. Access the WordPress Dashboard: Log in to your WordPress admin panel.

  2. Go to the Settings Section: Click on "Settings" in the left-hand menu.

  3. Select General Settings: Within the Settings menu, select "General."

  4. Check the WordPress Address and Site Address URLs: Ensure that both the WordPress Address (URL) and Site Address (URL) fields start with "http://" instead of "https://". Update these fields if needed.

  5. Save Changes: Scroll down and click the "Save Changes" button at the bottom of the page to apply the modifications.

  6. Update .htaccess file (if necessary): Access your website's root directory via FTP or cPanel File Manager. Locate the .htaccess file and add the following code to it: RewriteEngine On RewriteCond %{HTTPS} on RewriteRule ^ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

  7. Save the .htaccess Changes: Save the updated .htaccess file.

  8. Clear Cache (if applicable): If you're using any caching plugins or server-side caching, clear the cache to ensure the changes take effect immediately.

  9. Check Your Website: Visit your website in a new browser window to confirm that it no longer redirects to HTTPS.

These steps should help in preventing WordPress from automatically redirecting to HTTPS.