-
Set up the 404 page Generally, the program background will be set up.
You can also select the default in the control panel of the space vendor server or make one yourself and upload it.
-
Set the 404 on the server to point to a designed html file.
1. The current space providers basically provide the function of 404 settings, directly upload the file, and then set it.
2. In the server, use the IIS setting method: open the IIS Manager > click on the property you want to set up a custom 404 ** --> click on the custom error option --> select the 404 page --> check and open the property --> set it to url --url and fill in the > according to OK to exit and then upload the finished page to the root directory. In this case, you must select File or Default Value in Message Type, and do not select URL, otherwise, a status code of 200 will be returned.
-
1. If the existing web page content cannot be accessed due to path changes, you can define a 404 error in the IIS to point to a dynamic page, and use a 301 permanent redirect to jump to a new address in the page, and the server will return a 301 status code.
2. Set the 404 to point to a designed html file, and the 404 status code returned by the page at this time. Today's IDC providers basically provide the function of 404 settings, and you can directly upload files and set them up. Set the method in IIS:
Open the IIS Manager -- > click on the properties you want to set to customize the 404 ** -- > click on the custom error option -- > select the 404 page -- > select and open the properties -- > set to url --url and fill in " Press OK to exit and then upload the finished page to the root directory. In this case, you must select File or Default Value in Message Type, and do not select URL, otherwise, the status code of 200 will be returned.
3. Point 404 to a dynamic page, for example, if you don't set it in the page, just return the html ** of the prompt, which will cause the page to return 200 status codes, which is incorrect, we can add a statement after displaying the prompt content:"404 not found", which ensures that the page returns a 404 status code.
4. Set the 404 error page under apache. The way to set up a 404 error page for Apache Server is simple, just go in. Add the following content to the htaccess file.
The purpose is to tell the viewer that the page they are requesting does not exist or that the link is wrong, and to direct the user to use the other page instead of closing the window and leaving. The text of the error page can be customized, and some ** do not set up a 404 error page, or they jump directly to the home page, which is generally not very friendly to search engines.
There are generally several reasons for a web page 404 error:
1. The website cannot be accessed on the requested port.
2. The web service extension lock policy blocks this request.
3. The MIME mapping policy blocks this request.
4. ** updated and revised, but some local sections continue to use the original module, and the original module call file has been deleted or transferred to the path.
5. All kinds of footcodes or css files that are tracked and accessed are invalid, but the call ** still exists.
6. A directory is directly deleted (causing all files in the directory to report a 404 not found error when crawled for a period of time).
-
1. Set 404 under Apache
Setting up a 404 error page for Apache Server is complicated, just need:
1) In. The htaccess file will participate in the following. htaccess file to the root order.
2) Make a 404 page, plan it as you like, set the name, and upload it to the **root order.
2).Remember not to use relative URLs, if the pattern code used to go to relative URLs is 302+200.
IISnet set 404
At the beginning, fix the settings of the root order of use, open the file, and participate in the following contents:
Here's what is cited:
Note: In the above example, the 404 page is a fragmentary acquiescence, and it is a 404 page of self-demarcation, please correct the corresponding file name when using it.
Then, take part in the 404 page of the self-demarcation:
Here's what is cited:
= 404 not found %>
If possible, you can be sure that the IIS can accurately go to the 404 form code.
This paragraph 404 is set to watch out for events.
1.Don't make a mistake redirecting your 404 to the homepage, as this will cause the homepage to disappear in the scraping engine.
2.Don't use relative URLs, if you use relative URLs to go to 302+200 patterns
After the page is set up, it is necessary to reflect on whether it can be accurate. But the HTTP header must be in the 404 form. If it has anything to do with the scraping engine this time, because if you ** have more pages but the scraping engine sees many of the same normal pages, you can be mistakenly thought to be cheating.
Don't actively jump to the page and let the user decide where to go. This touches on the manufacturing of 404 pages, and it is very tense to provide user experience, and 404 page manufacturing is very knowledgeable. (Ref **: )found="" not="" "404">
If possible, you can be sure that the IIS can accurately go to the 404 form code.
This paragraph 404 is set to watch out for events.
1.Don't make a mistake redirecting your 404 to the homepage, as this will cause the homepage to disappear in the scraping engine.
2.Don't use relative URLs, if you use relative URLs to go to 302+200 patterns
After the page is set up, it is necessary to reflect on whether it can be accurate. But the HTTP header must be in the 404 form. If it has anything to do with the scraping engine this time, because if you ** have more pages but the scraping engine sees many of the same normal pages, you can be mistakenly thought to be cheating.
Don't actively jump to the page and let the user decide where to go. This touches on the manufacturing of 404 pages, and it is very tense to provide user experience, and 404 page manufacturing is very knowledgeable.
-
Impact of 404 on users What do users do when they accidentally visit a non-existent page and do not set an error message? Undoubtedly, of course, it is to simply close and leave. So setting up a 404 page is also equivalent to making a prompt page for users, when the user visits a non-existent page, they will go to the 404 page, and then because you have a friendly prompt on this 404 page, and there is a connection between the home page and the main column page, the user is likely to click into your home page again.
The first step in setting up the 404 page is to log in to the place where you purchased the space and go to the control panel of the space. I'm going to take the over-the-horizon host as an example, and the other spatial steps are basically similar. 1) Click "Custom Error Page" on the space control panel to see a panel of "Custom 404 Error Page"; 2) In the "Custom 404 Error Page", you can see that there are four options (there are also places where you can enter the path of the error page); 3) Since the file name of the 404 page on my blog is, I have selected the last one here "Use files in the web directory to customize the content"; 4) Finally, click "Modify 404 now", so that the space setting is completed.
The whole process of space setting is shown in the following figure: After setting up the space through the above steps, the next step is to make a 404 page and upload it to the space.
-
Non-existent pages become 404 pages, for example, I randomly enter a few letters after your domain name is a non-existent page, and another reason is that the search engine includes your article, but your article has changed its position or deleted, and the link to the article included in the search engine has not changed, but it is not found when it is opened, and there is an error in the web server! Profit is the exchange.
-
The appearance of the 404 error is due to the fact that most of the reasons are: the browsing address file you give the viewer does not exist, and the 404 error is out of the consideration of the user's humanity, and the good ones also pay more attention to the 404 error page, which can enable the manager to find the wrong link in time and correct it. What you mean by 404 automatic jump does it mean that a few seconds after the 404 error will automatically turn to a pre-set page (most of which point to the home page), in fact, this is not good, and it is not recommended to use it this way.
-
Why does a web page cause a 404 page?
-
One. Server Environment Settings:
First of all, open IIS, right-click on the properties you want to set, and find the custom error column!
You should see the http error.,Scroll down.,Find 404.,There are three 404 and then give :3 all the 404 files and save them.,So that the 404 of ** is set successfully.。
First of all, if there is a wireless router, then first turn on the power supply, and then plug in the network cable, plug in the WAN port (usually the blue port), and then connect with the computer network cable to plug in any LAN port, after doing these jobs, then you will see that there is an address and account password behind the router, after connecting, enter the address you see in the router in the browser, generally of course, if your home is using ** online network, then you have to prepare an additional modem, commonly known as "cat"). >>>More
Hello. We apologize for the inconvenience!
If your device cannot enter the system with the fixed screen, we recommend that you perform a simple troubleshooting attempt by following the steps below: >>>More
If you're using an XP system, then:
If you have a computer administrator account and want to create your own password. >>>More
boardid=11&postid=7 There are also other methods: Pack the material and set the extraction password Additional software: Mobile Encryption Tool Green Edition This encryption software is separated from the strong folder encryption software, no installation or installation of the original software, you can change the name you like at will, there are no restrictions, and no registration. >>>More
What is the difference between a computer administrator and a guest in a PC? The administrator has absolute control over the computer, the guest account can only browse, and the things under the disk must be the same, but the guest account can view the administrator's files at most, and cannot modify or delete, but the administrator can delete all the files of the guest account, and the administrator and the guest account are like the relationship between the owner and the user I want to enable the computer administrator and the guest account in the user account, how to set it up? The permissions of the guest are very low, and they cannot install software, delete it, or copy it. >>>More