Skip to main content

Tùy chỉnh trang 404



 Nếu như trước đây, Blogger luôn bị chê bai khi so sánh với Wordpress bởi giao diện và đặc biệt là khả năng SEO của 2 nền tảng này (SEO là gì thì mình cũng chưa rõ lắm), thì bây giờ, sau khi Google đã cho ra phiên bản cải tiến cho đứa con Blogger của mình, mọi chuyện đã đổi khác.
 Trước hết chúng ta sẽ thảo luận làm thế nào để thiết kế trang 404 (404 not found).



Bắt đầu thủ thuật:

1. Tới Cài đặt >> Tuỳ chọn Tìm kiếm:




2. Đến mục Lỗi và chuyển hướng và nhấp Chỉnh sửaKhông tìm thấy trang tùy chỉnh.

 

 
3. Bây giờ sao chép các mã cụ thể vào.
Mẹo: Bạn nên sử dụng các thông báo dí dỏm để giữ chân bạn đọc không chuyển sang trang khác.





4. Tới Mẫu >> Chỉnh sửa HTML và dán đoạn mã sau ngay sau thẻ <head>
 
<b:if cond='data:blog.pageType == &quot;error_page&quot;'>
<title>Bạn đã xé một lỗ hổng trong cấu trúc của Internet.</title>
</b:if> 


Các bạn có thể sử dụng code sau để thay vào bước 3:  
<style type="text/css" >
body {background:white url('https://lh3.googleusercontent.com/-UrVT8oRCpWc/UO66sXU_TAI/AAAAAAAAAiU/X2E973k6mQk/s512/27.PNG')  50% 0% no-repeat !important;z-index:10000000;}
.sidebar, footer, .content, .header, .columns-inner, .footer-top {display:none;}
body {min-width: 0px !important;}
</style>

Chúc thành công!

Comments

Popular posts from this blog

Leveraging the Fast TikTok API on Apify for Efficient Data Scraping

Introduction: In the world of social media data analysis, TikTok has emerged as a popular platform with a vast amount of user-generated content. To extract valuable insights from TikTok, developers and researchers often resort to web scraping. One efficient way to accomplish this task is by utilizing the Fast TikTok API on the Apify platform. In this article, we will explore the benefits and capabilities of leveraging the Fast TikTok API for data scraping on TikTok. Check the API here:  https://apify.com/novi/fast-tiktok-api

Giải trí với video hài

Hy vọng video này sẽ giúp mọi người thư giãn và xả xì trét :D

Tutorial: Scraping Data from TikTok using Fast TikTok API with Python

In this tutorial, I will guide you through the process of scraping data from TikTok using the Fast TikTok API with Python. We will be using the requests library to make HTTP requests and retrieve data from the API. Let's get started! Step 1: Obtain API Credentials Go to https://apify.com and create an account if you haven't already. Once logged in, navigate to the Fast TikTok API page ( https://apify.com/novi/fast-tiktok-api ). Follow the instructions on the page to obtain your API credentials, such as an API key or access token. Make sure to note down these credentials for future use. Step 2: Set up your Python Environment Ensure that you have Python installed on your system. You can download the latest version of Python from the official website ( https://www.python.org ). Install the requests library by running the following command in your terminal: pip install requests Step 3: Import Required Libraries Open your preferred Python IDE or text editor and create a new Python