Test Foro de elhacker.net SMF 2.1

Programación => Desarrollo Web => Mensaje iniciado por: basickdagger en 15 Noviembre 2013, 18:49 PM

Título: #! en url
Publicado por: basickdagger en 15 Noviembre 2013, 18:49 PM
#! en url... q significa cuando esta esto en una url?

por ejemplo...

http://www.exafm.com/#!/guadalajara/home

http://www.disneylatino.com/radiodisneymexico/index.php#!/categorias/16/destacados


Título: Re: #! en url
Publicado por: :ohk<any> en 15 Noviembre 2013, 19:39 PM
CitarYour site should use the #! syntax in all URLs that have adopted the AJAX crawling scheme. Googlebot will not follow hyperlinks in the _escaped_fragment_ format.

Es para sitios que ejecutan en una sola página sin hacer re-direccionamiento.

Serían URLS falsas que javascript se encarga de direccionar.

Ejemplo:

Dale click a la URL siguiente:

http://foro.elhacker.net/#!/noticias/ya_disponible_maxthon_4202400_beta-t402862.0.html (http://foro.elhacker.net/#!/noticias/ya_disponible_maxthon_4202400_beta-t402862.0.html)

Seguirá en la raíz, porque no tiene un controlador que haga el redireccionamiento.

Saludos
Título: Re: #! en url
Publicado por: basickdagger en 15 Noviembre 2013, 20:02 PM
Cita de: @ohk en 15 Noviembre 2013, 19:39 PM
Es para sitios que ejecutan en una sola página sin hacer re-direccionamiento.

Serían URLS falsas que javascript se encarga de direccionar.

Ejemplo:

Dale click a la URL siguiente:

http://foro.elhacker.net/#!/noticias/ya_disponible_maxthon_4202400_beta-t402862.0.html (http://foro.elhacker.net/#!/noticias/ya_disponible_maxthon_4202400_beta-t402862.0.html)

Seguirá en la raíz, porque no tiene un controlador que haga el redireccionamiento.

Saludos
gracias por la respuesta, ultima pregunta xD

su funcionalidad seria parecida a un frame?...

esto puede afectar el SEO?
Título: Re: #! en url
Publicado por: :ohk<any> en 15 Noviembre 2013, 20:04 PM
Si y Si.

Mira este link: http://angularjs.org/ (http://angularjs.org/)

Es de Google y trabaja de esa manera.

Re-cito:

CitarYour site should use the #! syntax in all URLs that have adopted the AJAX crawling scheme. Googlebot will not follow hyperlinks in the _escaped_fragment_ format.

See sample AJAX application at gwt.google.com/samples/Showcase. If you click on any of the links on the left, you'll see that the URL will contain a #! hash fragment, and the application will navigate to the state corresponding to this hash fragment. If you change the #! (for example http://gwt.google.com/samples/Showcase/Showcase.html#!CwRadioButton) to ?_escaped_fragment_= (for example,http://gwt.google.com/samples/Showcase/Showcase.html?_escaped_fragment_=CwRadioButton), the site will return an HTML snapshot.

https://support.google.com/webmasters/answer/174993?hl=en (https://support.google.com/webmasters/answer/174993?hl=en)

Saludos
Título: Re: #! en url
Publicado por: basickdagger en 19 Noviembre 2013, 18:16 PM
Cita de: @ohk en 15 Noviembre 2013, 20:04 PM
Si y Si.

Mira este link: http://angularjs.org/ (http://angularjs.org/)

Es de Google y trabaja de esa manera.

Re-cito:

https://support.google.com/webmasters/answer/174993?hl=en (https://support.google.com/webmasters/answer/174993?hl=en)

Saludos



muchas gracias... por lo visto no me sirve pero me puede ayudar en algunas cosas... muchas gracias por el dato!