Como evitar la re-dirección de tu blog por paises. Con este
script que agregaremos en debajo de
<head>
- Ir Plantilla » Editar HTML
- Y Pegar el código justo abajo de
<head>
<script type="text/javascript">
/* Get the full URL of the current blogger page */
var blog = document.location.href.toLowerCase();
/* Do not redirect if the domain is .com already */
if (!blog.match(/\.blogspot\.com/)) {
/* Replace the country TLD with .com and ncr switch */
blog = blog.replace(/\.blogspot\..*?\//, ".blogspot.com/ncr/");
/* Redirect to the new .com URL in the current tab */
window.location.replace(blog);
}
</script>
- Guardar los cambios y listo
Esto no cambia el hecho de que existan otras direcciones por países pero sera útil para que solo se use uno, el "blogspot.com"
Sobre el redireccionamiento automático Google/Blogger nos explica aquí:
https://support.google.com/blogger/answer/2402711?hl=es-419
No hay comentarios.:
Publicar un comentario
Deja un comentario escribiendo en el cuadro