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 )
- Showing errors with $wpdb update
- How to display admin error notice if settings saved succesfully?
- How to fix “There has been a critical error on your website. Please check your site admin email inbox for instructions”?
- WordPress is Inserting images into Post as HTTP and not HTTPS
- When does remove_filter not work?
- This webpage is not available ERR_NAME_NOT_RESOLVED
- Serve HTTPS requests from subdomain
- Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
- Error messages when adding code to function.php or trying to delete inactive plugin files
- Make default new sites https (multisite)
- 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)
- Call to undefined function get_header() in index.php
- List Category Posts plugin upgrade fails with fatal error
- https multiple redirects
- How to properly force https and www on multisite with Apache HTAccess
- Dashboard Whitescreen of Death?
- How can I find the cause of theme crashing Apache in Xampplite?
- Get notified by email when Fatal error occurs on wordpress site?
- Is there a way to avoid 404 pages in WordPress?
- “There doesn’t seem to be a wp-config.php file.” despite wp-config.php in root
- Get PHP Fatal error on globalized $wpdb: Call to a member function insert() on a non-object- I have no clue. What to do?
- I can’t access the admin panel links as I click it shows 403 error
- Https Redirect infinite loop in Mobile browsers
- I am getting an error some times when uploading themes
- After upgrading Debian Buster to Bullseye, WordPress sites no longer updating
- is_wp_error is missing error
- Jetpack “Connect to WordPress” serving insecure content under HTTPS
- Too many redirects after added SSL redirect on port 80 virtual host
- Website access with http and https
- Images loading over http instead of https
- Domain Mapping for WordPress MU and https redirection – How to?
- 500 error after update
- Problem with running javascript in a shortcode
- Without access to the FTP, how can I fix the index page?
- How to catch all PHP errors with custom error handler?
- Trying to get property of non-object error with thumbnail
- I have an error message coming up after I type in my domain. How Do I get my site back
- Blog automatically redirected to error page
- 500 error for all pages and post after move localhost to server
- why would ABSPATH not get defined
- 404 Not found error after update to WordPress 5.0
- Keep getting this code reparted again and again?
- WordPress code problem [closed]
- ERR_TOO_MANY_REDIRECTS on wordpress page [closed]
- WordPress fonts need to upload with Google fonts?
- Method Not Implemented GET to wp-admin/post.php not supported
- When sorting WP_List_Table, table sorts, but I also get SQL errors
- Getting 404 error on homepage only
- WordPress cracked? Posts not found in dashboard
- What are the issues using the Test Cookie Fix?
- Multiple use wp_logout_url() on page cause ‘header already sent’ error after submit form
- How do I fix this: syntax error, unexpected ‘:’, expecting ‘)’
- Plugin.php not found
- Fatal error: Uncaught Error: Call to undefined function add_action()
- Fatal error for category archives
- Website Migration (with https) to a new domain(http)
- 403. You don’t have permission to access this resource error
- How to identify the origin of an issue or an unexpected behavior?
- 404 Not Found Error showing when I run wordpress
- Forbidden permission and editor error after update to WordPress 5.1.1
- CSS and JS not loading after uploading onto server
- D_FILE already defined in /home/staneppsjr/public_html/wp-config.php on line 82
- How to fix this CORS error?
- Front-end pages messed up due to HTTPS
- Regular 503 error every 5 minutes for logged in users
- One page is showing the “Index of /” error
- Create a new hyperlink to wordpress blog
- What is the source of “HTTP error,” and
- 403 Forbidden on site logo image upload
- My site thinks it’s secure when it is fact not
- WordPress installation self deleted in server restart. SQL Tables gone too!
- Parse error: syntax error, unexpected T_FUNCTION
- SSL/HTTPS Redirect Loop
- Error thrown Cannot use object of type WP_Error as array
- Where can I get a full list of wordpress errors in plain text?
- The ( error_log ) file size is very large
- Generate all urls with https
- Theme-Check plugin using MY_THEME check error genrate
- Solve theme installation problem?
- Is it possible to empty debug.log programmatically?
- File doesn’t exist! in wordpress function.php file while creating new post or page
- Change Registration Error Message
- Properly setting up a “default” nginx server for https
- Changing my URL in General Settings cause the site to crash
- Core error when calling remove_menu_page
- How to force HTTP and stop SSL completey on WordPress website
- Customizing login message
- wordpress is auto using http: not https: as it needs to because the server is http behind a reverse proxy https, how do I stop it?