.Htaccess file

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 url of the site to be as follows: www.dominio.com.br/xs/index.php , however, is doing the redirect, but the page index.php , is totally out of the folder causing it to be totally broken, so this it does not have to appear in the url www.dominio.com.br/xs/index.php, is it possible to do that?

    
asked by anonymous 03.05.2018 / 18:55

0 answers