Cómo convertir un Parked domain en un addon domain

Creamos el .htaccess y agregamos el código que sigue:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/subdirectory/
RewriteCond %{HTTP_HOST} name.com$
RewriteRule ^(.*)$ subdirectory/$1 [L] 

Fuente: http://www.bluehostforum.com/archive/index.php/t-288.html

Comments are closed.