You don’t appear to have a valid SSL cert installed on your server that covers the hostname www.subdomain.example.com, ie. the www sub-subdomain`.
The only way to resolve this and not get the browser warning is to install a valid certificate on your server that covers the required hostname.
Otherwise, unless the user accepts this invalid certificate in their browser (which they should not), then the request never actually reaches your server, so never sees the redirect.
Related Posts:
- htaccess rewrite conflict with wordpress rules and ssl
- Globally force SSL on all pages
- Admin-Ajax.php, SSL, Non-SSL
- How disable SSL redirect for specific URL?
- How to modify the .htaccess to force ssl on login and admin pages
- Setup Permanent 301 Redirects after moving to Https [closed]
- Transfer to HTTPS – mixed content on main page only [closed]
- I can’t access the admin panel links as I click it shows 403 error
- Https Redirect infinite loop in Mobile browsers
- 403 error on admin login page
- Adding a SSL Certificate
- HTTP sitewide, except for: wp-admin, and 2 custom directories
- How can I fix the redirect chain after implementing ssl on wordpress?
- Conflict with Force SSL and Rewrite Rules
- Force non-ssl on WordPress RSS feeds in htaccess, using cloudflare
- Steps for WordPress over SSL
- The connection to “domain” is not secure
- SSL_ERROR_BAD_CERT_DOMAIN
- Best collection of code for your .htaccess file [closed]
- Default .htaccess file for WordPress?
- Which one does WordPress prioritize when it comes to php.ini, wp-config and .htaccess?
- Improve wordpress security by hiding non public resources
- WordPress site hacked. Has .htaccess been hacked?
- Does this .htaccess security setting really work?
- Use a different domain for SSL
- htaccess problem after saving Settings
- Stop WordPress and Plugins from Overwriting .htaccess
- File and directory permissions
- htaccess disable WordPress rewrite rules for folder and its contents
- htaccess https redirect from www to non-www
- Force HTTPS using .htaccess – stuck in redirect loop
- Htaccess for Wordpess set on single subdomain
- adding rewrite rules in .htaccess
- .htaccess and 500 error, extra character added
- Name-based virtual host configuration in Apache seems to cause a “500 Internal Server Error”
- Place static HTML files in path below WordPress page
- Static raw HTML page
- WordPress + Magento .htaccess ReWriteRule Issue (www vs. non-www)
- Plugin to edit htaccess file
- htaccess rewrite for author query string when WP is in subfolder
- Why “Settings->Permalinks” creates .htaccess file on nginx server?
- .htaccess for wordpress inside another wordpress install
- .htaccess file redirecting to parent directory
- How to redirect url requests to https? [closed]
- Blog.php or how to display recent posts?
- Rewrite /?rest_route=/ link to /wp-json/ without changing default permalink structure in apache
- Serve apache 404 for missing assets rather then wp 404 template WP_Rewrites
- Isolating WordPress to a subfolder
- Remove year and month in URL using .htaccess
- index.php not loading in main folder of wordpress
- WordPress site displaying 404 for any page apart from index
- Why does the header set X-Robots-Tag apply to all pages?
- Permalinks not working on second wordpress installed in a subdirect
- How to avoid wordpress permalink rules to inherit in a sub-folder
- Error:406 not acceptable
- Unable to access WP admin
- .htaccess Rewrite URL WordPress
- Move wordpress to folder without changing urls
- Rewrite rule not working
- A plugin changes my .htaccess file and I can’t access httpd.conf as that’s a shared server
- Cant block wordpress readme files
- Change wp-content without changing the name of the folder
- 404/500 error on /wp-json
- WordPress keeps deleting .htaccess file
- Why wordpress multisite redirect to wp-signup if site exists?
- Correct htaccess to display page while also passing in GET parameters
- What is the role of .htaccess file in WordPress?
- Using “wordpress_logged_in” to restrict direct access to uploads folder in 2021
- Multisite without .htaccess
- Using WordPress only for the backend, and using AngularJS as a frontend
- Temporary .htaccess blocking is disabling WP Crons from running?
- How to restrict access to wp-content, wp-includes and all sub-folders
- Two domains on one WordPress Installation
- .htaccess redirects disappeared after re-saving permalinks
- Protect Upload Folder Files With Ampersand Problem
- How have I misconfigured basic auth for my wordpress site?
- Remove File Extension for Page Outside of WordPress
- Is it possible to dynamically redirect URL using htaccess?
- How can I code my plugin to safely modify .htaccess?
- Prevent users from browsing through the media galleries
- .htaccess for wordpress in separate folder
- WordPress URL/Folder ReWrite using Htaccess
- WordPress trims off the forward slash when import
- Which WordPress scripts need to be executable for a fresh installation?
- WordPress mod_rewrite is canceling/overwriting my other mod_rewrite rule
- .htaccess and WordPress Admin Bar
- WordPress best solution shared theme for consumers and businesses (two url’s one instaltion)
- Keep getting 401 error from WordPress on AWS Lightsail
- Redirect main domain to subdirectory
- Blocking access to wp-login via htaccess not working
- HTAccess stops me from accessing WordPress Dashboard links
- .htaccess redirects no longer work
- Force www to non-www on a subdomain in WordPress?
- WordPress multilingual website domain and folders
- Exclude subfolder from WP-redirect works with html but not php files
- How to Redirect huge numbers of URLs to another URLs?
- https multiple redirects
- Attach to wp-login.php and xmlrpc.php
- WP site URL changed to have HTTPS but still homepage does not redirect
- How to properly force https and www on multisite with Apache HTAccess