My question is in .htaccess
, because I can only make the root of my site the public_html
folder or some other folder within public_html
, but I need a folder that is one level above.
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.meusite.com.br/$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.meusite.com.br/$
RewriteCond %{REQUEST_URI} !meudiretorio/
RewriteRule (.*) /meudiretorio/$1 [L]