In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to set up phpcms static url. I hope you will gain a lot after reading this article. Let's discuss it together.
First of all, log in to the URL and open the background of the website to find "url Rule Management" under the "extension" function.
Second, look at the generation rule of the list page. It turned out to be {$categorydir} {$catdir} / index.html | {$categorydir} {$catdir} / {$page} .html. There is a problem here. The second page of the list page is a number, which conflicts with the content page generation. Should be changed to {$catdir} / index.html | {$catdir} / index_ {$page} .html. After modification, as shown in the following figure:
Next is the setting of the url rule on the bottom page of the article, which is {$year} / {$catdir} _ {$month} {$day} / {$id} .html | {$year} / {$catdir} _ {$month} {$day} / {$id} _ {$page} .html, which is also month and date, and the directory level is too deep. Let's modify it like this: {$catdir} / {$id} .html | {$catdir} / {$id} _ {$page} .html. After modification, as shown in the following figure:
At this point, the url generation rules for the list page and content page have been modified. Category is the list page generation rule, and show is the article and content rule, as shown in the following figure:
Next, we modify the next column, find the "Management column" under "content", and click modify.
Column generation html and content generation html are selected, column page URL rules and content page URL rules are selected just set. Then submit
After that, update the cache, update the home page, column page, url, content page. As shown in the following figure:
After reading this article, I believe you have a certain understanding of the setting method of phpcms static url, want to know more about it, welcome to follow the industry information channel, thank you for reading!
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.