I’d put the HTTPS redirect at the top of the htaccess file, not after the WordPress elements. See this page in the Codex for htaccess suggestions: https://codex.wordpress.org/htaccess . You need to redirect to https first before doing the WP rules in htaccess.
You may also need to change any http to https in your database. I use a plugin like “Better Search and Replace” to do that, there are other similar options.
And make sure that you change the URL in the wp-option table to https (in two places).
Related Posts:
- Any idea on how to fix this error when forcing SSL on a certain page?
- What are some best practices to clean up http mix content warnings?
- HTTPS leads to Sorry, you are not allowed to access this page
- 403 error on admin login page
- wp_remote_get sslv3 alert handshake failure
- Cannot upgrade to 4.0 – get SSL certificate error
- I get “too many redirects” problem when migrating localhost site
- My websit dosent worke http errors 500
- SSL Error: unable to get local issuer certificate
- https connection using CURL from command line
- Curl command for https ( SSL )
- nodejs – error self signed certificate in certificate chain
- Simple Java HTTPS server
- HTTPS connection Python
- Java: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- How do you redirect HTTPS to HTTP?
- Could not establish secure channel for SSL/TLS with authority ‘*’
- Python requests SSL error – certificate verify failed
- How can I force users to access my page over HTTPS instead of HTTP?
- 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
- Issues with installing python libraries on Windows : CondaHTTPError: HTTP 000 CONNECTION FAILED for url
- Cannot access non-wordpress subdirectories as wordpress overrides them with a 404 error
- Showing errors with $wpdb update
- SSL Breaks WordPress CSS
- Change login error messages
- Setting $_SERVER[‘HTTPS’]=’on’ prevents access to wp-admin
- WP_DEBUG is not set, but I’m still getting warnings
- How to disable the fatal error (WSOD) protection?
- Disable SSL / HTTPS for wordpress
- Switching MultiSite installation from HTTP to HTTPS
- Why is WordPress redirecting from http to https on a local environment?
- Unable to locate WordPress Content directory (wp-content)
- Could not create directory /wp-content/upgrade/
- Getting the warning: Missing argument 2 for manage_posts_custom_column()?
- What log files does a WordPress installation write to?
- How to display admin error notice if settings saved succesfully?
- Is there a way to force ssl on certain pages
- How to fix “There has been a critical error on your website. Please check your site admin email inbox for instructions”?
- Notice: Undefined index: host in /var/www/html/wp-includes/canonical.php on line 445
- What is the best way to monitor PHP functions/executions?
- Notice: Use of undefined constant SCRIPT_DEBUG
- Notice: Constant WP_POST_REVISIONS already defined
- Uncaught ReferenceError:switchEditors is not defined
- How to stop certain warning logging in error.log?
- SSL breaks customizer: page isn’t returned from ajax
- WordPress Redirecting to wp-admin/install.php
- Error 404 Page Not Found When Updating a Post or Page
- Debug mode shows Strict Standards
- Disable all https in WordPress
- How to use WP_Error $data argument?
- Is it possible to disable caching of an option when using w3 total cache?
- How to use WordPress multisite with mixed HTTP and HTTPS sites?
- Why on Earth am I getting “undefined_index” errors?
- Local version of a WordPress site – SSL/HTTPS enforced?
- Force HTTPS using .htaccess – stuck in redirect loop
- bloginfo() and get_template_directory_uri() with SSL?
- Showing error “Function create_function() is deprecated”
- After updating site to use SSL all images in posts point to http://
- WordPress is Inserting images into Post as HTTP and not HTTPS
- strange characters in wordpress website displayed for visitors [closed]
- Debugging ‘Object of class WP_Query could not be converted to int’ error
- Adding https to wordpress website
- How to fix ob_end_flush() error?
- Upgrade to SSL Breaks Admin Dashboard
- When does remove_filter not work?
- wp_remote_get() not retrieving pages properly
- error_log over 70GB. How to stop this? [closed]
- How to redirect url requests to https? [closed]
- $wpdb->insert Database Error Duplicate Entry Error Logging
- Globally force SSL on all pages
- Is the WordPress HTTPS Plugin Still Safe To Use? [closed]
- Force home page to be https?
- Update wordpress fail – There has been a critical error on your website
- This webpage is not available ERR_NAME_NOT_RESOLVED
- Admin-Ajax.php, SSL, Non-SSL
- Displaying oEmbed errors?
- How disable SSL redirect for specific URL?
- Getting headers already sent error from plugin
- Serve HTTPS requests from subdomain
- “Apache HTTP Service has stopped working” with WP Query in WordPress 2.9.2
- Error 310 too many redirects after switching domains
- WordPress Move to SSL How to Update Media Assets to HTTPS?
- Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
- How do I set up Debugging?
- Error Logs to Diagnose Error 500 in LAMP
- Add image only in first post
- Error messages when adding code to function.php or trying to delete inactive plugin files
- “Notice: Undefined index:” error when adding new content?
- 418 header status, I’m a teapot [closed]
- Showing “ Notice: Undefined variable:” and “ Notice: Trying to get property of non-object”
- Make default new sites https (multisite)
- WordPress redirect loop on nginx + apache reverse proxy
- Publishing Time – WordPress Plain White Screen with No Error
- Object of class WP_Error could not be converted to string
- New WordPress Error Message – Not seen this before
- Does wordpress have an error log?
- WP_DISABLE_FATAL_ERROR_HANDLER vs WP_DEBUG ? What to use and when to use to see errors?
- Locked out of WordPress Site Admin after enabling Force SSL on WordPress Https (SSL)
- Handling duplicates with wp_insert_term()