Các Bước Thực Hiện
Bước 1: Đầu tiên bạn vào trang quản trị blogger - Chủ đề - chỉnh sửa HTML.
Bước 2: Ctrl + F tìm thẻ </head> và dán code phía dưới lên trên nó. (code này mình trích từ một blog nước ngoài)
Thủ thuật chỉ đơn giản thế thôi. Hy vọng với thủ thuật nhỏ này sẽ giúp blog của các bạn chuyên nghiệp hơn, nếu gặp bất cứ lỗi gì đừng ngần ngại comment xuống dưới để mọi người cùng giúp đỡ nhé!!!
Bước 2: Ctrl + F tìm thẻ </head> và dán code phía dưới lên trên nó. (code này mình trích từ một blog nước ngoài)
<script>/*<![CDATA[*/ var uri = window.location.toString(); if (uri.indexOf("%3D","%3D") > 0) { var clean_uri = uri.substring(0, uri.indexOf("%3D")); window.history.replaceState({}, document.title, clean_uri);} var uri = window.location.toString(); if (uri.indexOf("%3D%3D","%3D%3D") > 0) { var clean_uri = uri.substring(0, uri.indexOf("%3D%3D")); window.history.replaceState({}, document.title, clean_uri);} var uri = window.location.toString(); if (uri.indexOf("&m=1","&m=1") > 0) { var clean_uri = uri.substring(0, uri.indexOf("&m=1")); window.history.replaceState({}, document.title, clean_uri); } var uri = window.location.toString(); if (uri.indexOf("?m=1","?m=1") > 0) { var clean_uri = uri.substring(0, uri.indexOf("?m=1"));window.history.replaceState({}, document.title, clean_uri);}; var protocol=window.location.protocol.replace(/\:/g,''); if(protocol=='http'){ var url=window.location.href.replace('http','https'); window.location.replace(url);} /*]]>*/</script>Bước 3: Lưu lại chủ đề và tận hưởng thành quả.
Thủ thuật chỉ đơn giản thế thôi. Hy vọng với thủ thuật nhỏ này sẽ giúp blog của các bạn chuyên nghiệp hơn, nếu gặp bất cứ lỗi gì đừng ngần ngại comment xuống dưới để mọi người cùng giúp đỡ nhé!!!
Hmu
ReplyDelete