I use .htaccess
to use friendly urls.
Everything works perfectly.
But, I installed an SSL certificate in my domain, it is also working, the whole site.
But when I type some url, other than the file name or path, it does not work. Page not found
My .htaccess
:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?dominio.com.br [NC]
RewriteRule ^news/([a-zA-Z0-9_-]+)$ index.php?secao=news&url=$1
With HTTPS:
https://www.dominio.com.br/index.php -> Funciona
https://www.dominio.com.br/news.php -> Funciona
https://www.dominio.com.br/news/alguma-noticia-lala/ -> Não Funciona
No HTTPS:
http://www.dominio.com.br/index.php -> Funciona
http://www.dominio.com.br/news.php -> Funciona
http://www.dominio.com.br/news/alguma-noticia-lala/ -> Funciona
Any help?
Thank you