Hướng dẫn xóa đuôi ?m=1 trên mobile dành cho blogspot

Ditulis oleh Báo Cáo Thị Trường
tháng 6 10, 2019
[tintuc]
Hướng dẫn xóa đuôi ?m=1 trên mobile dành cho blogspot
Xin chào các bạn, mình đã trở lại rồi đây. Hôm nay mình sẽ hướng dẫn các bạn xóa đuôi ?m=1 trên giao diện mobile dành cho blogspot để trang web của bạn trở nên chuyên nghiệp hơn.

Cách thực hiện

Rất dễ thôi, các bạn dán đoạn code này lên trên thẻ đóng head là được
 <script>
    var url = "<data:blog.url.canonical/>";
    //<![CDATA[
    var uri = window.location.toString();
    if ((uri.length - url.length) > 0) {window.history.replaceState({}, document.title, url);}
    //]]></script>
Hãy cẩn thận nhé vì điều này có thể làm ảnh hưởng tới SEO của blog bạn.
Đây là demo
[/tintuc]

Đăng nhận xét

Profile Image

Miss A

Just a young teacher helping others fall in love with English.
About Image

About Me

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eum in eos saepe ipsa cupiditate accusantium voluptatibus quidem nam, reprehenderit, et necessitatibus adipisci.

Our trusted Clients
Brand Image 1
Brand Image 2
Brand Image 3
Brand Image 4
Brand Image 5
Brand Image 6
Brand Image 7
Brand Image 8
English Teacher
Senior High School 4
Private English Tutor
Freelance
Language Education
Contract
Google Gemini
Contract