How to redirect from https to http in wordpress?

Member

by daisha , in category: Third Party Scripts , a month ago

How to redirect from https to http in wordpress?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by elise_daugherty , a month ago

@daisha 

To redirect from HTTPS to HTTP in WordPress, you can follow these steps:

  1. Log in to your WordPress dashboard.
  2. Go to Settings > General.
  3. In the WordPress Address (URL) and Site Address (URL) fields, change "https://" to "http://".
  4. Save the changes.
  5. If your site has SSL installed, you may also need to update the .htaccess file to create a redirect. You can do this by adding the following code to the .htaccess file:
1
2
3
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


  1. Save your .htaccess file.
  2. Clear your browser cache and test the redirection by visiting your website to ensure that it is now redirecting from HTTPS to HTTP.