Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/05/2008, 09:10
Avatar de IMAC/
IMAC/
 
Fecha de Ingreso: octubre-2005
Mensajes: 738
Antigüedad: 18 años, 6 meses
Puntos: 14
De acuerdo Alternativa el mod Rewrite para URLs amigables ( ¿arañas? )

Buenas

He estado buscando un tiempo algún modo de poder hacer las URLS amigables sin necesidad de modificar el .htaccess con el famoso Mod Rewrite porque mi hosting no me da permiso a tal archivo.

He encontrado un artículo muy interesante aquí:
http://tufuncion.com/urls_amigables

Por lo visto se puede hacer con un script simple en php para lograr algo así:
"http://www.tusitio.com/articulo.php/id/333/noticia/21"

en lugar de:
"http://www.tusitio.com/articulo.php/?id=333&noticia=21"

El inconveniente que ponen es que:
"hay que asegurase de tener controlado el log de el servidor para evitar las molestas "arañas"."

Y en otra página vi esto:
Cita:
There was previously one major drawback to this method. Google, and perhaps other search engines, would not index pages set up in this manner, as they interpreted the URL as being malformed. I contacted a Software Developer at Google and made them aware of the problem and I am happy to announce that it is now fixed.

There is the potential that other search engines may ignore pages set up in this manner. While I don't know of any, I can't be certain that none do. If you do decide to use this method, be sure to monitor your server logs for spiders to ensure that your site is being indexed as it should.
¿Que son esas supuestas "arañas"?
¿Es tan efectivo este script como el Mod Rewrite?

Gracias de antemano ;)