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¬icia=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:
¿Que son esas supuestas "arañas"?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.
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.
¿Es tan efectivo este script como el Mod Rewrite?
Gracias de antemano ;)