0
I have at the root of the site the files . html "index, services, gallery and contact". I also have a folder called "services".
i am trying to use this code to let the url’s friendly:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html
however, when I type the "www.meudominio.com.br/servicos" url instead of opening the.html servicos file it is trying to access the folder with the same name (servicos).
someone can help me with this ?
ps:. within the services folder I have other . html files with the subjects about the services, which will be accessed by other links.
example: "www.meudominio.com.br/servicos/servico1", "www.meudominio.com.br/servicos/servico2"