Home page >> Related Tutorials >>Body

Yiyou cms removes index.php and pseudo static settings

Author: A little Jack    Time: 2022-09-07 18:53:40    Browse: 1571   

Dunga: I just met a customer who came to me to deal with a small problem. It's about EasyOpti CMS. It's estimated that the customer is a novice and can't deal with pseudo static and some problems. This problem is mainly that the URL link contains index.php, and many pages can't be opened.

 Yiyou cms removes index.php and pseudo static settings

Yiyou cms is actually written in thinkphp, so the pseudo static rules can be directly applied. If you use a pagoda, you can directly select thinkphp.

If other, you can copy the following pseudo static rules:

 location / { if (!-e $request_filename){ rewrite  ^(.*)$  /index.php? s=$1  last;    break; } }

Then, it is very simple to remove index.php from the url. You just need to set the above pseudo static rules, log in to the background, and click Clear Cache. The above is a tutorial on removing index.php and pseudo static settings from EyU CMS.

 Yiyou cms removes index.php and pseudo static settings


Text label: Yiyou cms   Pseudo static  
 A little Jack

A little Jack https://lkba.cn

The blogger focuses on Z-Blog website construction, website optimization, computer troubleshooting, reinstallation, optimization, maintenance system, etc, QQ/WX: 2126245521 (please specify the purpose)

Related articles

Previous:

Next:

No comment for this article - Welcome

 Please fill in the verification code

Processed : 0.050 SQL : 14