0
I have the . htaccess file with the following content:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.+)$ index.php?path=$1 [QSA,L]
When loading the page I need to have https already displayed://...
But only when I click on the internal links is the certificate displayed.
I do not understand these instructions very well. I know that the site uses the MVC structure, so this setting in . htaccess
I also have a config.php, which contains some settings and the following line:
define( 'HOME_URI', 'http://meusite.com/' );
From now on I thank you all!
Thank you Gilmar for the contribution. But the page shows the following error: "Excessive redirection per meusite.com ERR_TOO_MANY_REDIRECTS"
– Júlio Martins
Then try instead of those two lines, those two: Rewritecond %{SERVER_PORT} 80 Rewriterule (.*)$ https://seudominio.com.br/$1 [R,L] The editor here does not let enter, plus each Rewrite, is a line
– Gilmar Alonso
My friend, the business has gone punk here. He rewrote the URL with the server path: http://wacabinetsorlando.com/var/www/html/wacabinetsorlando.com/web/wacabinetsorlando.com/
– Júlio Martins
I contacted Uol Hosts, and the problem was in their configuration!
– Júlio Martins