Whenever the user accesses the site www.teste.com.br, I want it to be redirected to the / new folder. Example: www.teste.com.br/novo Can you do this in .php or through .htaccess?
Whenever the user accesses the site www.teste.com.br, I want it to be redirected to the / new folder. Example: www.teste.com.br/novo Can you do this in .php or through .htaccess?
just use php's native function header () example:
header('Location: www.site.com/novocaminho');
Or if you prefer use .htaccess, you get into the root directory example:
Redirect 301 / http://site.com/novocaminho
#tambem podes meter arquivos php