Khắc phục lỗi hatom blogspot giúp blog của bạn được google index nhanh hơn, tốt hơn trong SEO. Các lỗithiếu author, thiếu update, thiếu entry-title hay gặp nhiều ở một số template vì chưa được tối ưu chuẩn.>> Khắc phục ảnh trên Blogppot bị chặn
>> Thêm title cho link bài viết
Để khắc phục lỗi hatom cần chỉnh sửa, thêm, bớt một số code trong html để công cụ đánh giá tốt hơn, giúp blog bạn trở nên hoàn hảo hơn trong bộ máy tìm kiếm google.
- Tìm đoạn code có dạng như sau:
- Có thể tìm đoạn code tương tự nằm trong thẻ <span class='post-author vcard'>
- Thay thế đoạn code vừa tìm bằng đoạn code sau:
- Lưu Mẫu
- Tìm đoạn code sau
- Thay thế thành đoạn code sau
- Lưu Mẫu
♥ Tìm đoạn code như bên dưới với cụm từ 'data:post.title' (một số template có thể là h1, h2)
- Thay thế bằng đoạn code sau:
♥ Tìm tiếp đoạn code sau
- Xóa chữ hfeed đi và đoạn code trở thành:
♥ Tìm đoạn code sau
- Thay bằng đoạn code
♥ Tiếp tục tìm đoạn mã
- Thay thế bằng
- Lưu Mẫu.
>> Thêm title cho link bài viết
Để khắc phục lỗi hatom cần chỉnh sửa, thêm, bớt một số code trong html để công cụ đánh giá tốt hơn, giúp blog bạn trở nên hoàn hảo hơn trong bộ máy tìm kiếm google.
KHẮC PHỤC LỖI THIẾU AUTHOR
- Vào Mẫu > Chỉnh sửa HTML- Tìm đoạn code có dạng như sau:
<span class='post-author vcard'> <b:if cond='data:top.showAuthor'> <b:if cond='data:post.authorProfileUrl'> <span class='fn'> <a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'> <data:post.author/> </a> </span> <b:else/> <span class='fn'><data:post.author/></span> </b:if> </b:if> </span>
- Thay thế đoạn code vừa tìm bằng đoạn code sau:
<span class='post-author vcard' itemscope='itemscope' itemtype='http://schema.org/Person'> <b:if cond='data:top.showAuthor'> <b:if cond='data:post.authorProfileUrl'> <span class='fn author'> <a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'> <span itemprop='name'><data:post.author/></span> </a> </span> <b:else/> <span class='fn author'><span itemprop='name'><data:post.author/></span></span> </b:if> </b:if> </span>
KHẮC PHỤC LỖI THIẾU UPDATE
- Vào Mẫu > Chỉnh sửa HTML- Tìm đoạn code sau
<data:post.timestamp/>
<span class='updated'><data:post.timestamp/></span>
KHẮC PHỤC LỖI THIẾU ENTRY-TITLE
- Vào Mẫu > Chỉnh sửa HTML♥ Tìm đoạn code như bên dưới với cụm từ 'data:post.title' (một số template có thể là h1, h2)
<b:if cond='data:post.title'> <h3 class='post-title'>
<b:if cond='data:post.title'> <h3 class='post-title entry-title'>
<div class='blog-posts hfeed'>
<div class='blog-posts'>
<div class='post hentry'>
<div class='post'>
<div class='post hentry uncustomized-post-template
<div class='post uncustomized-post-template

0 nhận xét :
Post a Comment