0
I am using the following configuration in the Htaccess file:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?dominio.com.br$
RewriteCond %{REQUEST_URI} !^/pasta-destino/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /pasta-destino/$1
RewriteCond %{HTTP_HOST} ^(www.)?dominio.com.br$
RewriteRule ^(/)?$ pasta-destino/index.php
i need the site url to look like this: www.dominio.com.br/xs/index.php, however, this making the redirect, but the page index.php, is totally out of the folder causing it to be totally broken, so that it doesn’t have to appear in the url www.dominio.com.br/Xs/index.php, it is possible to do this?
Wouldn’t it be simpler to make one
header("location ./xs/index.php")no www.dominio.com.br/index.php– Costamilam
It can be, I didn’t think about it. .
– edson ferrari