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]
- SSL Error: unable to get local issuer certificate
- How to redirect all HTTP requests to HTTPS
- https connection using CURL from command line
- How can I use an .htaccess file in Nginx?
- .htaccess redirect http to https
- 404 Not Found The requested URL was not found on this server
- Curl command for https ( SSL )
- nodejs – error self signed certificate in certificate chain
- What is the difference between Local Server and a Web Server?
- How to run php files on my computer
- Simple Java HTTPS server
- Whats the point of running Laravel with the command ‘php artisan serve’?
- Localhost is not working
- PHP $_SERVER[‘HTTP_HOST’] vs. $_SERVER[‘SERVER_NAME’], am I understanding the man pages correctly?
- HTTPS connection Python
- Java: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- SVN Error E175002 while checking out code from repository
- XAMPP, Apache – Error: Apache shutdown unexpectedly
- Enable PHP Apache2
- client denied by server configuration
- What is HTTPD exactly?
- XAMPP: Connecting to localhost fix? [Persistent]
- Request exceeded the limit of 10 internal redirects due to probable configuration error
- Adding a user on .htpasswd
- Could not establish secure channel for SSL/TLS with authority ‘*’
- a2enmod command not found in apache server using cpanel in linux vps
- How do I disable directory browsing?
- Python requests SSL error – certificate verify failed
- Apache and Node.js on the Same Server
- Apache is downloading php files instead of displaying them
- lbmethod_heartbeat:notice – No slotmem from mod_heartmonitor –error after installing apache2.4.2 [closed]
- Difference between Systemctl and service command
- “End of script output before headers” error in Apache
- XAMPP installation on Win 8.1 with UAC Warning
- org.apache.jasper.JasperException
- Site does not exist error for a2ensite
- How to force Laravel Project to use HTTPS for all routes?
- How can I fix the “No certificates found – The app Chrome has requested a certificate” Android / Google Chrome issue
- WAMP won’t turn green. And the VCRUNTIME140.dll error
- .htaccess: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration
- Issues with installing python libraries on Windows : CondaHTTPError: HTTP 000 CONNECTION FAILED for url
- PHP code is not being executed, but the code shows in the browser source code
- Redirect old php link to wordpress link in .htaccess
- Redirect old php link to wordpress link in .htaccess
- Cant login to wp-admin (redirecting to homepage), But CAN login to wp-login.php
- Cant login to wp-admin (redirecting to homepage), But CAN login to wp-login.php
- SSL Breaks WordPress CSS
- Setting $_SERVER[‘HTTPS’]=’on’ prevents access to wp-admin
- WordPress redirecting connections on port 8080 to 80
- Disable SSL / HTTPS for wordpress
- Switching MultiSite installation from HTTP to HTTPS
- Is there a way to force ssl on certain pages
- SSL redirect loop using WordPress HTTPS Plugin
- SSL breaks customizer: page isn’t returned from ajax
- Stop WordPress and Plugins from Overwriting .htaccess
- How do I get the right permissions for WordPress running Apache on Debian
- Disable all https in WordPress
- How to use WordPress multisite with mixed HTTP and HTTPS sites?
- How can I improve site/page performance of WordPress websites?
- Local version of a WordPress site – SSL/HTTPS enforced?
- bloginfo() and get_template_directory_uri() with SSL?
- Keeps on redirecting on my development copy
- After updating site to use SSL all images in posts point to http://
- WordPress is Inserting images into Post as HTTP and not HTTPS
- WordPress Multisite – Multiple subfolders for blogs
- Exclude a path from WordPress using .htaccess redirects (Apache)
- Adding https to wordpress website
- Upgrade to SSL Breaks Admin Dashboard
- WordPress site redirects to different wordpress domain on the same server after reuploading db backup
- Globally force SSL on all pages
- Is the WordPress HTTPS Plugin Still Safe To Use? [closed]
- Force home page to be https?