1
I have a site that he is not at the root, when entering it he adds/portal in front of the link because it is divided into folders inside the root, when accessing the /portal he goes to the index of the site and when accessing /news/nXX he goes to a newsletter of the site. Usually to add the HTTPS to the site I go to the htaccess file and put the following text:
Rewriteengine On Rewritecond %{HTTPS} off Rewriterule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
However, as I was not the one who made this site, in his htaccess already has a lot of codes (which redirect to the /portal when accessing the root), I tried to add but was not successful.