Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/08/2009, 10:56
cristofer-2006
 
Fecha de Ingreso: mayo-2008
Ubicación: Granada
Mensajes: 131
Antigüedad: 16 años
Puntos: 2
.htacess y mod rewrite problema con las direciones

Hola tengo url amigables con el mod rewrite pero cuando llamo a un archivo hace como si fuera una url amigable y no consigo solucionarlo haber si alguien me puede ayudar.

El código que tengo es el siguiente:

#2 variable
Rewriterule ^(.*)/(.*).html$ /index.php?variable1=$1&variable2=$2 [L]
#1 variable
Rewriterule ^(.*).html$ /index.php?variable1=$1 [L]

eh probado a ponerlo asi pero tampoco funciona

Rewriterule ^robots.txt$ /robots.txt [L]
#2 variable
Rewriterule ^(.*)/(.*).html$ /index.php?variable1=$1&variable2=$2 [L]
#1 variable
Rewriterule ^(.*).html$ /index.php?variable1=$1 [L]

Saludos.