Cheap VPS host selection
Provide server host evaluation information

How to set pseudo static Apple cms pseudo static setting tutorial

Before the Apple CMS pseudo static setting, we need to determine the server environment we use, and then upload the pseudo static rules to the root directory of your website space according to the system environment you use.

Pseudo static format corresponding to different environments

Use httpd.ini rule under iis6. x

Use web.config rule under iis7. x

Use the. htaccess rule in Apache

Use maccms.conf rule in nginx

Apple cms pseudo - static setting method

The iis6. x, iis7. x, and Apache environments can be uploaded directly to the root directory of the website space. These rules have been packaged in the Apple CMS installation package and uploaded by themselves.

 

 adaf2edda3cc7cd9c98eeb04287a1b35ba0e91d5.png@f_auto

 

After uploading the rules, go to the next step. In the background of Apple CMS, the system ->URL address setting ->route pseudo static setting, turn on the corresponding function button to complete the task.

 

 0df431adcbef76098b30d9332ba699c67dd99eec.jpeg@f_auto

 

Finally, modify the corresponding routing rules.

If the pseudo static configuration file under the root directory cannot be called in the nginx environment, we need to configure it manually

Go to the pseudo static setting page in the pagoda panel, copy the rules in the following maccms.conf file here, and then save!

if (!- e $request_filename) {

rewrite ^/index.php(.*)$ /index.php? s=$1 last;

rewrite ^/admin.php(.*)$ /admin.php? s=$1 last;

rewrite ^/api.php(.*)$ /api.php? s=$1 last;

rewrite ^(.*)$ /index.php? s=$1 last;

break;

}

Do not reprint without permission: Cheap VPS evaluation » How to set pseudo static Apple cms pseudo static setting tutorial