0
I use a .htaccess
to use friendly url.
Everything works perfectly.
But, I installed an SSL certificate in my domain, also working, the whole site.
But, when I type some url, which is not exactly the file name or path of the same, it does not work. Page not found
mine .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
Without 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
Some help?
Thank you