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
- What is the difference between Local Server and a Web Server?
- Localhost is not working
- PHP $_SERVER[‘HTTP_HOST’] vs. $_SERVER[‘SERVER_NAME’], am I understanding the man pages correctly?
- Redirect vs RedirectMatch
- How to automatically redirect HTTP to HTTPS on Apache servers?
- SVN Error E175002 while checking out code from repository
- 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
- “End of script output before headers” error in Apache
- Redirect old php link to wordpress link in .htaccess
- Cant login to wp-admin (redirecting to homepage), But CAN login to wp-login.php
- Stop WordPress and Plugins from Overwriting .htaccess
- Serving HTTP and HTTPS from one installation
- force http canonical tag on https pages
- Upgrade to SSL Breaks Admin Dashboard
- index.php not loading in main folder of wordpress
- WordPress V2 REST-API: Endpoints 404?
- 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
- Menu links only using http after enabling https, unable to redirect http links
- https multiple redirects
- some url does not redirect from http to https
- 404 with post name permalinks
- WordPress SSL (https) is not working with custom permalink
- Can’t login to Dashboard when changing site URL to HTTPS
- No ‘Access-Control-Allow-Origin’ header is present [closed]
- Redirect HTTP to HTTPS for all sub domains (blog posts)
- 301 redirection editing .htaccess doesn’t work
- Directing subdomain to main domain and keeping the subdomain format with .htaccess
- WordPress – Promoting A Dev Build In A Subdirectory To Production / Root Directory
- 301-redirect directives for blogger to wordpress migration
- Redirect old domain with query paramaters
- Forcing HTTPS with WordPress on AWS
- Locked out of admin and some pictures don’t show after failed SSL installation
- Allow non-SSL pages to use https or Force non-SSL pages to http?
- .htaccess 301 redirect conflict with plugin “WordPress Https”
- Redirect – remove custom query string
- Internal Server Error apache
- How to redirect only 404 pages with htaccess in WordPress
- How to make my site use HTTPS for images or how to insert images as relative paths?
- Accidentally messed up URLs
- WordPress docker with empty responses to HTTP requests
- White Screen of Death for unknown reason but fixes after rebooting the server
- Forbidden You don’t have permission to access this resource. Apache/2.4.41 (Ubuntu) Server [closed]
- WordPress page not accessible through WAN [closed]
- Caching plugins + mod_pagespeed = overkill?
- Need workaround for insecure XMLHttpRequest endpoint request
- Accepting special characters in querystring
- Virtual HostX and MAMP not working with WordPress
- If I use Apache & ngnix together will I have fewer problems?
- how to config the home page locally
- Configure .htaccess to have a WordPress single site installation with all subdomains pointing to the same pages?
- 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
- URL Rewrite 404
- WordPress V2 REST-API: Endpoints 404?
- 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?
- How to block wordpress admin by htaccess
- throttle/limit a logged in user’s http requests to specific page on a per day basis
- CSS/JS is not working in multi lang installation
- Multisite /files/ URLs broken after server move
- Localhost WordPress Uploading of Images Issue
- Not logged in when using http
- Any idea on how to fix this error when forcing SSL on a certain page?
- All scripts and style links return 404 on a local virtualhost
- Issues when moving from server to MAMP
- Nice font not working when http to https – SSL Issue
- The plain HTTP request was sent to HTTPS port in wordpress [closed]
- WordPress redirection
- Changing my URL in General Settings cause the site to crash
- WordPress – Unable to Create New Account – Windows/Apache/MySQL
- How to force HTTP and stop SSL completey on WordPress website
- Serve static files via a subdomain on a wordpress
- WP-Include rewrite directory
- Browser Caching .htaccess