Ver Mensaje Individual
  #6 (permalink)  
Antiguo 26/07/2010, 14:10
xenon254
 
Fecha de Ingreso: noviembre-2007
Ubicación: Zamora (Spain)
Mensajes: 251
Antigüedad: 16 años, 6 meses
Puntos: 1
Pregunta Respuesta: 1and1 + RewriteRule = No funciona

Cita:
Iniciado por abimaelrc Ver Mensaje
Trata colocando un flag R=301 después del flag QSA. Debes usar ruta absoluta para que te redirija a la página es decir http://localhost/$1.php [L,QSA,R=301]
Muchas gracias Abimaelrc por tu ayuda. Pero no he conseguido mejorarlo. Coloqué tu código así:

Código:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ http://www.midominio.es/$1.php [L,QSA,R=301]
Un saludo