• Apache和IIS环境:
    • 默认已配置,只需确保主机支持伪静态。
  • Nginx环境:
    • 打开 nginx.txt 文件,将代码复制到配置中。
    • 示例代码:
      location / {
          if (!-e $request_filename) {
              rewrite ^/(.*)$ /index.php?p=$1 last;
          }
      }