Domain redirection

1

Is there any way to redirect the domain to a folder in public_html instead of adding a index.html file with automatic redirection?

    
asked by anonymous 21.11.2014 / 12:18

1 answer

1

Yes. Use .htaccess.

Example:

RewriteEngine on RewriteRule (.*) http://www.novosite.com.br/$1 [R=301,L]

    
27.11.2014 / 11:43