Posted By

mfigge on 11/17/10


Tagged

redirect 301


Versions (?)

Redirect 301 para sitios con dos dominios


 / Published in: Apache
 

Tipico caso de sitio con dos dominios, y paginas con parámetros.

  1. RewriteCond %{HTTP_HOST} ^dominio.com.ar$ [OR]
  2. RewriteCond %{HTTP_HOST} ^www.dominio.com.ar$
  3. RewriteRule ^(.*)$ http://www.dominio.com/$1 [R=301,L]

Report this snippet  

You need to login to post a comment.