2
I have a website that I’m redoing.
The old one was made in wordpress (at the root of the site) and the new one in joomla (in the folder "new")
I want the domain.com.br to be redirected to the domain.com.br/new, but the user to see domain.com.br
I used this code in htaccess that works on the home page, but when you enter the new site, all links appear with the /novo
, for example, 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]