In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How do virtual hosting sites set pseudo-static? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.
After building the website, the virtual host has many aspects of optimization work, including how to make robots protocol files, including on-site optimization, off-site promotion and so on. Pseudo-static is also one of the more important optimization details.
Take the Wordpress site building program as an example:
1. When the website is built, upload it to the virtual host, log in to the Wordpress daemon, and in the left menu column, select "Settings", "fixed links"
two。 Usually Wordpress is in the format of "http://xxx.com/? P = number", and this kind of URL is dynamic link. As we all know, dynamic URL is not very friendly to search engines, which affects the collection and optimization of websites. Therefore, within this fixed link setting, you usually choose a custom setting.
It is important to note that custom settings can be set to the desired path, such as domain name / column / article ID.html. However, there are special cases where the URL path is incorrect during some settings. That is:
When you select a custom structure
"/% category%/%post_id%.html"
Open the website URL will appear
Http://xxx.com/category/ column
At this point, you can use Wordpress's plug-in No Category Base (WPML) to solve this problem.
For the Wordpress program to set pseudo-static, it is more convenient, but it is generally recommended that the site planning more later, included in 1000 can be considered to do pseudo-static, more than 1000 included, do pseudo-static site requires a long recovery period.
In addition, after completing the pseudo-static, you need to submit the newly generated static links to the search engine so that the search engine can re-include the new links as soon as possible. When the new links are re-included more than half of the original links, you can consider using the robots protocol to prohibit grabbing the original dynamic link addresses.
Generally speaking, pseudo-static is a remedy for the URL specification of website links. A mature enterprise building a website must plan everything in the early stage, even if it is revised, it will comprehensively consider the pros and cons before upgrading.
This is the answer to the question about how to set up the pseudo-static on the virtual hosting website. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.