WordPress knowledge sharing

The correct way to notify visitors and search engine construction during WordPress program construction

The WordPress program was built at a stage when the website was not completely completed, but the outside world could normally open it. As we continue to configure, add, and delete website content, the website often changes at this time, but it is incomplete and incomplete in general. So during this period, we need a foreground page "under construction" to "persuade" visitors. On the other hand, we need to prohibit search engine inclusion, which is the work of SEO optimization. Weieis Blog has been providing services for novices from the perspective of novices. From the perspective of website construction, this article explains how to "block" user access and prohibit search engine inclusion during website construction.

1、 Block user access

This is mainly implemented by plug-ins. For example, the common Under Construction plug-in is used to show visitors at the front desk during website construction, indicating that the website has not been completed, or such a prompt is displayed during website revision, indicating that the website is under construction.

Related content: Under Construction Plug in Installation and Configuration Tutorial

Coming Soon Page Maintenance Mode&Landing Pages Plug in

There are several main scenarios for plug-ins. First, before the new website was built, many webmasters would hang such a prompt, including some personal websites and company websites contacted by Lao Wei. Because the domain name was told to the customer in advance, but it was still under construction. For a more formal practice, a reasonable notice should be hung.

Another type of people who use plug-ins already have many visitors, but the website is in the process of revision. At this time, a plug-in is needed to remind visitors that the website is under intense construction, which will be a friendly interface.

The above is a friendly way for the website to visitors and people, but it can't play the same role for the search engine, so next we will talk about how to operate the search engine friendly.

2、 Tell the search engine that the website cannot be included

During the construction of the website, it is not recommended to make it public, and search engines are not allowed to crawl. The purpose is to optimize website SEO better. The specific implementation method is to use the command in the robots.txt file to prohibit the search engine from fetching. Please refer to the relevant contents for the specific implementation process: How to write robots. txt on WordPress website and what to pay attention to

There are two cases. A. The new website is built from scratch. At this time, the search engine is prohibited from crawling through the command of the robots.txt file. The function of prohibiting crawling of robots.txt files is not canceled until the website is officially released;

B、 When the website is revised, you can't ban crawling at this time. Instead, you should go to Baidu search resource platform and apply for [Closed Site Protection], which can be found in [Optimization and Maintenance]. If you use Google Search Console, there is no similar option for the time being, but Google Spider is sensitive to website revision and will quickly reflect in the search results, so you need to create a new site map and resubmit it to Google so that the spider can quickly capture the revised content.

In addition, 301 should be done for old links to redirect to new links, so that the weight can be effectively transferred, without dispersion and loss of weight, not to mention a large number of 404 error pages that cannot be opened after revision.

From the above two approaches, we know that when your new website is under construction, or when your website is being revised, you need to notify visitors and search engines separately, not just your own side. Otherwise, visitors will be puzzled, and they may not visit again in the future. As well as the rejection of search engines, they will lose their rankings and keywords, and your website will not appear in the search results.

Like( zero )
Article name: "The correct way to notify visitors and search engine construction during WordPress program construction"
Article link: https://www.vpsss.net/18273.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.