Attempt 2 was close to perfect. Just modify it slightly:
RewriteEngine On RewriteCond %{HTTPS} on RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Related Posts:
- How to redirect all HTTP requests to HTTPS
- How can I use an .htaccess file in Nginx?
- .htaccess redirect http to https
- htaccess – Redirect to subfolder without changing browser URL
- What is HTTPD exactly?
- How do you redirect HTTPS to HTTP?
- How do I disable directory browsing?
- .htaccess: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration
- Redirect www to non-www htaccess
- Redirect from https to http or from http to https? [closed]
- WordPress multisite causing Error 101 (net::ERR_CONNECTION_RESET): Unknown error [duplicate]
- Redirect http to https does not work on subdir where another instance of WordPress installed
- 403 error on admin login page
- How to use https on one page only?
- fix 302 redirection error on https
- Understanding Redirects
- Redirect HTTP request to HTTPS request
- @ converted to %40 in HTTPPost request
- 404 Not Found The requested URL was not found on this server
- What is the difference between Local Server and a Web Server?
- How to run php files on my computer
- Custom Tumblr theme wont save because of non-https urls?
- 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?
- Redirect vs RedirectMatch
- Access-Control-Allow-Origin Multiple Origin Domains?
- How to automatically redirect HTTP to HTTPS on Apache servers?
- SVN Error E175002 while checking out code from repository
- XAMPP, Apache – Error: Apache shutdown unexpectedly
- Enable PHP Apache2
- client denied by server configuration
- XAMPP: Connecting to localhost fix? [Persistent]
- Request exceeded the limit of 10 internal redirects due to probable configuration error
- Mixed Content Page: requested an insecure stylesheet error
- Adding a user on .htpasswd
- Getting “Handshake failed…unexpected packet format” when using WebClient.UploadFile() with “https” when the server has a valid SSL certificate
- ndroid 8: Cleartext HTTP traffic not permitted
- a2enmod command not found in apache server using cpanel in linux vps
- 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
- Why am I suddenly getting a “Blocked loading mixed active content” issue in Firefox?
- XAMPP installation on Win 8.1 with UAC Warning
- org.apache.jasper.JasperException
- How can I force users to access my page over HTTPS instead of HTTP?
- Site does not exist error for a2ensite
- Getting a 500 Internal Server Error on Laravel 5+ Ubuntu 14.04
- How to remove index.php from WordPress site URL
- WAMP won’t turn green. And the VCRUNTIME140.dll error
- 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
- Why is WordPress redirecting from http to https on a local environment?
- Switch from https back to http
- Chrome Version 44.0.2403.89 m is trying to force HTTPS
- Use subdomain for certain urls
- Multisite htaccess on localhost with WP as an SVN external?
- Stop WordPress and Plugins from Overwriting .htaccess
- How do I get the right permissions for WordPress running Apache on Debian
- How can I improve site/page performance of WordPress websites?
- htaccess https redirect from www to non-www
- Force HTTPS using .htaccess – stuck in redirect loop
- Serving HTTP and HTTPS from one installation
- WordPress Multisite – Multiple subfolders for blogs
- force http canonical tag on https pages
- Upgrade to SSL Breaks Admin Dashboard
- WordPress in sub directory wp-admin problem
- How to redirect url requests to https? [closed]
- Rewrite /?rest_route=/ link to /wp-json/ without changing default permalink structure in apache
- Globally force SSL on all pages
- 302 redirect instead of 301 after switch to HTTPS
- index.php not loading in main folder of wordpress
- Admin-Ajax.php, SSL, Non-SSL
- Error 101 after upgrading WordPress
- How disable SSL redirect for specific URL?
- Best practices for making a WordPress site “movable”?
- WordPress V2 REST-API: Endpoints 404?
- How to configure self hosted wordpress so that everything can be upgraded/installed from dashboard
- Remove HTTP: from the site URL and just keep // in it
- How are both HTTP and HTTPS versions displaying?
- Installing WordPress in a Sub-Folder (not in root) on Localhost
- WordPress – https : Css and Js files are not working (load on http instead of https)
- What’s the proper way to setup WP-CLI on Ubuntu so that I don’t have to use the flag –allow-root?
- Which Apache-modules must I enable?
- Does WP Have a Function To Generate .htaccess RewriteCond?
- What are some good Apache settings to use with wordpress?
- Redirect to https not working with .htaccess [closed]
- .htaccess 301 vs. 302 Enforcing HTTPS
- How to modify the .htaccess to force ssl on login and admin pages
- Menu links only using http after enabling https, unable to redirect http links
- Cant Access Website – Changed HTTP to HTTPs
- https multiple redirects
- How to properly force https and www on multisite with Apache HTAccess
- Which HTTP headers to use for subdomain embedding?
- Redirect from different port to subdomain – htaccess