This has not been tested but I think this should work using mod_rewrite
RewriteEngine On RewriteCond %{HTTPS} on RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}
Related Posts:
- htaccess – Redirect to subfolder without changing browser URL
- Https to http redirect using htaccess
- How can I force users to access my page over HTTPS instead of HTTP?
- Why is WordPress redirecting from http to https on a local environment?
- Force HTTPS using .htaccess – stuck in redirect loop
- How to redirect url requests to https? [closed]
- WordPress redirect loop on nginx + apache reverse proxy
- Mixed Content with SSL, wordpress behind a reverse proxy
- https multiple redirects
- WordPress Redirecting HTTPS Requests to HTTP
- Infinite loop behind SSL proxy on non-standard port
- What is the right way to redirect all traffic to HTTPS?
- Htaccess file isn’t redirecting http sub-pages to https––they display 404 error instead, tried many solutions and none work
- Too many redirects after added SSL redirect on port 80 virtual host
- ReDirect subfolder link to another sub-folder and force SSL
- WordPress CSS/Theme gone after SSL got activated
- My site doesn’t redirect from HTTP to HTTPS
- Only execute function if SSL is set up properly
- HTTPS to HTTP rewrite rules not working as expected
- https and wordpress breaks posts
- 301 Redirect Loop www to non-www – Nginx + Apache2
- I get “too many redirects” problem when migrating localhost site
- How to force the admin-ajax.php file to load over HTTPS?
- Front-end pages messed up due to HTTPS
- Moving site from HTTP to HTTPS
- Not logged in when using http
- How to force HTTP and stop SSL completey on WordPress website
- ssl_error_rx_record_too_long and Apache SSL [closed]
- How can I use an .htaccess file in Nginx?
- nodejs – error self signed certificate in certificate chain
- PHP $_SERVER[‘HTTP_HOST’] vs. $_SERVER[‘SERVER_NAME’], am I understanding the man pages correctly?
- Java: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- SVN Error E175002 while checking out code from repository
- Issues with installing python libraries on Windows : CondaHTTPError: HTTP 000 CONNECTION FAILED for url
- Cant login to wp-admin (redirecting to homepage), But CAN login to wp-login.php
- Disable SSL / HTTPS for wordpress
- Stop WordPress and Plugins from Overwriting .htaccess
- After updating site to use SSL all images in posts point to http://
- Adding https to wordpress website
- Upgrade to SSL Breaks Admin Dashboard
- WordPress V2 REST-API: Endpoints 404?
- What are some good Apache settings to use with wordpress?
- Redirect to https not working with .htaccess [closed]
- Menu links only using http after enabling https, unable to redirect http links
- In WP versions >= 4.0, is FORCE_SSL_LOGIN forcing HTTPS for the entire admin session?
- SSL Partially breaking admin panel and elementor
- some url does not redirect from http to https
- Occasional HTTPS Mixed Content Warning
- Why is there an intermediate redirect to https://public-url.org/wp-admin?
- https redirect hell (adding www)
- How can I make uploaded images in the editor load with HTTPS?
- WordPress site shows “File not found.” if opened through https
- Redirect HTTP to HTTPS for all sub domains (blog posts)
- 301 redirection editing .htaccess doesn’t work
- 301-redirect directives for blogger to wordpress migration
- Address a single page to SSL https secure protocol?
- wordpress http to https windows server
- How to use https on one page only?
- .htaccess 301 redirect conflict with plugin “WordPress Https”
- Need ideas for HTTPS multiple domain solution
- Network Admin URL is shown to anyone before accessing a blog
- How to redirect a link to a new link?
- Force WordPress https redirect before www redirect based on site address url
- How to redirect only 404 pages with htaccess in WordPress
- WP-admin redirects to login after adding SSL certificate
- How to make my site use HTTPS for images or how to insert images as relative paths?
- Accidentally messed up URLs
- Generate HTTPS Urls in multisite
- WordPress docker with empty responses to HTTP requests
- White Screen of Death for unknown reason but fixes after rebooting the server
- WordPress page not accessible through WAN [closed]
- URLs not being output with https
- How to enable http (not just https) in wordpress?
- If I use Apache & ngnix together will I have fewer problems?
- www redirects to another directory in wordpress
- CURL error with REST API
- How to make wordpress page site.com/content as location for main site.com that is worked on nuxt.js+node?
- Removed index.php now all pages with Internal Server Error
- How to convert multisite subdomain from http to https
- WordPress Multisite keeps redirecting to HTTPS
- Cannot access wp-admin after installing SSL – user capabilities not being set
- WordPress V2 REST-API: Endpoints 404?
- Why my multisite is this slow? (stats inside)
- SSL Certificate
- How to send user data from one website to another
- Wp-admin uses different php.ini than the theme files
- How to change wordpress port number to 8000?
- How to switch static files back to using HTTP instead of HTTPS?
- Mixed content and expired session issues with SSL and wp-admin
- Force SSL on a single page which is used as iFrame
- Localhost WordPress Uploading of Images Issue
- Any idea on how to fix this error when forcing SSL on a certain page?
- Issues when moving from server to MAMP
- Nice font not working when http to https – SSL Issue
- Cant enter admin page with SSL
- What are some best practices to clean up http mix content warnings?
- How to force static assets with HTTP sources to load over HTTPS?
- Permalinks to Post name not working
- Is it bad to redirect http to https?
- How to force or redirect to SSL in nginx?