Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/03/2010, 10:34
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 6 meses
Puntos: 334
Respuesta: urls amigables - es necesario php?

1.- no tiene mucho q ver con php
2.- tienes mal hechas tus reglas
Cita:
Rewriterule ^noticias/(.+)/(.+) noticia.php?id=$1&titulo=$2 [L,NC]
RewriteRule ^noticias$ ./noticia.php?id=$1&titulo=$2
RewriteRule ^noticias/([0-9]+)/[a-z0-9_-]+\.php /noticia.php?id=$1
RewriteRule ^noticias$ ./noticia.php [L,NC]
3.- si, solo necesitas el htaccess..
__________________
More about me...
~ @rhyudek1
~ Github