phpcn_u2800
Follow

After following, you can keep track of his dynamic information in a timely manner

Course notes
  • Courses in the relevant section:Use the PHP toolbox to install the Empire CMS website building system

    用php工具箱创建本地php环境,设置伪静态的方法。 运行模式:php+Apache 1.打开 其他选项菜单 > php扩展和设置 > apache模块 > 找到rewrite_module模块并勾选。 2.打开 其他选项菜单 > 打开配置文件 > 点击http-conf > 查找AllowOverride None,替换为 AllowOverride All(如果有多处需要全部替换)然后保存。 3.在网站根目录添加 .htaccess 文件 RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L] 用以上内容创建 .htaccess 文件 4.重启 (仅在wordpress中得到验证)

    2018-07-040个赞