Get the App
SLTechnology News&Howtos  ›  Servers  › 

The solution that phpcms v9 cannot generate static pages

Shulou Source: shulou.com Published: 2022-06-02 04:52:22 10月04日 Update

This article will explain in detail the solution that phpcms v9 can not generate static pages. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

What if phpcms v9 cannot generate static pages?

Question:

Suddenly, I found that the phpcms v9 of my local svn can no longer generate static pages. For example, the English directory of the first-level column "consultation" is called zi_xun, which is divided into three sub-columns: news 1, News 2, News 3. All interviews are reported to 404.

Go to the html directory and see that the first-level column does not generate a static home page index.html at all, and then begins to reverse: update cache, batch update column pages, batch update URL, batch update content pages. To html next look, still no, then check the template to see if there is any js and pc tag conflict. It's all useless! What a freak!

Solution:

Delete everything in the zi_xun directory under html, update the cache again, and update the column page in batches. Yes, it's speechless.

Through the experiment, it is found that only by clicking "batch Update column Page" on the left menu can the first-level column generate a directory and index.html! with the same name under the html directory!

So much for the solution that phpcms v9 cannot generate static pages. I hope the above content can be of some help to you and can learn more. If you think the article is good, you can share it for more people to see.

Tags: Columns updates generation static directories pages news methods content more articles caches good practical things stature again methods how to do articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Redmi Shulou Technology NVidia MySQL