当前位置:网站首页>Teach you two minutes to make a beautiful and easy-to-use 404 page
Teach you two minutes to make a beautiful and easy-to-use 404 page
2022-04-23 00:05:00 【Sir (cookieboy)】
How to quickly do a good job of the website 404 Jump to the page ?
If you want to do it fast and well , Open source byte is recommended to apply the exquisite template .
Generally speaking, it is to make use of 404 Page template , Make changes , Modify a 404 Upload the page to the website root directory , Then, it is generally set directly in the background of website space, and choose to use this file as 404 page .
Make use of 404 Template modification and production 404 The page flow is as follows :
First step
obtain 404 Code file , Download a set 404 Page template ( Generally one 404 Code file , And a 404 picture )
The second step
Modify file information , hold 404 Modify the link text in the page code file to the information applicable to your own website . domain name , keyword ,404 Picture call path information, etc . If there is advertising information on the picture, it can also be modified into the information of your own website
The main modification information is about four :
(1)404 Click on the link of the picture
(2)404 Picture call link
(3) The main link of your own website
(4)404 Anchor text link added on the page
And other main link information
There is no need to modify the link information in other places , Because it will automatically generate some links on its own website .
The third step
hold 404 Upload code files and pictures to the root directory of your website .
Step four
Open your own space backstage , find 404 page , Set and add your own 404 Page information is enough .
Complete the above steps , Of our website 404 The page is finished .
404 Related instructions :
(1) Some websites 301 and 404 It's all mandatory written by the website itself , You don't have to set it anymore . such as WordPress Website program ,301 and 404 It's all built-in , The file is usually in the template file of your own website . Then such websites don't need to be set .
If you set , In step four , The server or space will be prompted to say :
Your website program contains forced rewriting , Can't use custom 404 The rules ! Such programs generally come with 404 The file is in the template directory , image wordpress.

(2)404 Page is one of the ways to deal with low-quality page links such as empty links, wrong links, dead links, etc
If you reprint , Please indicate the source : Open source byte https://sourcebyte.cn/article/78.html
版权声明
本文为[Sir (cookieboy)]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230002018749.html
边栏推荐
猜你喜欢

51 single chip microcomputer learning_ 4-2 nixie tube dynamic display

Swin Transformer网络架构、相应改进模块的理解

Introduction to cloud computing simulation framework cloudsim (screenshot version)

Hypermesh-laminate复合材料案例学习笔记

pycharm界面改为中文,中英文切换

【ACM】90. 子集 II(同一树层的去重问题首先要对数组进行排序(使用sort))

Install the most complete version of ActiveMQ under the official website in 2022 and the official website access method

Detailed explanation of seven common query connections in MySQL

Day81 (dynamic programming, cross tree traversal)

Understanding of swin transformer network architecture and corresponding improvement modules
随机推荐
A convnet for the 2020s summary
Target detection model regression anchor offset and other problems
FPGA (V) one of RTL codes (cross clock domain design)
Is the securities account of goucai school reliable? Is it safe to open an account now? Which securities firm is better?
Mysql中的七种常用查询连接详解
Online fox U3D client game configuration loading failed couldn't connect to server
【必备知识】线激光扫描三维成像原理
Detailed explanation of MySQL index
网站被DDOS攻击了怎么办?
力扣习题集2--两数相加
Ignition Modbus
AcWing 1842. Milk bucket traverses all situations
Vscode uses emmylua plug-in to debug unity project tolua code
获取某一点的颜色
Algorithm --- list summation (kotlin)
根据高度计算文字大小
3D旋转动画
Adaptation des polices
2022年了,微信商城小程序还值得做吗?
Two color gradients