Hi @chcw,
It should work if you install Really Simple SSL on the subdomain as well. The plugin should determine the best way to configure your .htaccess automatically.
If you still run into any problems, please feel free to reach out again!
Kind regards,
Leon
@tobyw7,
I think in your case you can just enable the .htaccess 301 redirect in settings/ssl, which should resolve your issue.
The odd thing is, the 301 redirect is already enabled in the settings.
I have just created a new htaccess based on the following https://htaccessbook.com/htaccess-redirect-https-www/ and this seems to be working correctly. Not sure why the problem started though.
Went back into WP and also enabled “Enable WordPress 301 redirection to SSL” as it threw an error.
-
This reply was modified 4 years, 5 months ago by
tobyw7.
-
This reply was modified 4 years, 5 months ago by
tobyw7.
Thread Starter
chcw
(@chcw)
I also solved the problem via .htaccess
Hi there,
I have recently set up my website and noticed that it works for both http and https. I’m tracking the pages on Google Search Console and getting data for both pages.
Do I need to redirect the http pages to https? When I use the http page it comes up as not secure and I’m quite new to this so not sure of the best actions to take.
Thanks
Website: https://writingcontently.com/
@lizrosling If you are using Really Simple SSL on this site, please enable the 301 redirect. That should redirect all users to https. The .htaccess redirect is preferred, as it works with caching and is faster than the WordPress (PHP) redirect.
Please open a new thread if you have any further questions. We’re happy to help if needed.
Kind regards,
Leon