Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/07/2012, 10:12
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: .htaccess y subdominio

Intentá con
Código Apache:
Ver original
  1. RewriteCond %{HTTP_HOST} !^www\. [NC]
  2.   RewriteCond %{HTTP_HOST} !\.([a-z-]+\.[a-z]{2,6})$ [NC]
  3.   RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Para www a no-www
Código Apache:
Ver original
  1. RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
  2.   RewriteCond %{HTTP_HOST} !\.([a-z-]+\.[a-z]{2,6})$ [NC]
  3.   RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]

Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.