I have a site I'm redoing.
The old one was made in wordpress (in the root of the site) and the new in joomla (in the "new" folder)
I want that when accessing the domain.com is redirected to the domain.com / new, but that the user sees domain.com
I used this code in htaccess that works on the initial page, but when it enters the new site, all links appear with /novo
, for example, it gets dominio.com.br/novo/contato
RewriteEngine On
rewritecond %{http_host} ^(www.)?paratodosacessibilidade.com.br$
rewritecond %{request_uri} !^/novo/
rewriterule ^(.*)$ /novo/$1
rewritecond %{http_host} ^(www.)?paratodosacessibilidade.com.br.com$
rewriterule ^(/)?$ novo/index.php [l]