Environment: apache + ubuntu + php at present, you need to enable https on a wordpress site, but you do not need the full site. You only want to use it on the login and form application pages. I would like to ask how to configure it. Thank you. Environment: apache + ubuntu + php
Currently, You need to enable https on a wordpress site, but you do not need the full site. You only want to Use https on the login and form application pages.
I would like to ask how to configure it.
Thank you.
Reply content:
Environment: apache + ubuntu + php
Currently, You need to enable https on a wordpress site, but you do not need the full site. You only want to Use https on the login and form application pages.
I would like to ask how to configure it.
Thank you.
Use apache rewrite for processing, such
RewriteCond % {HTTPS} = off [NC] RewriteCond % {THE_REQUEST}/(login | register) [NC] RewriteRule ^ (login | register) https: // % {HTTP_HOST }%{ REQUEST_URI} [NC, R = 301, L]