WP 导航模板 WebStack 导航主题模板 WordPress 模板
安装指南:安装 WordPress ,教程百度
设置伪静态
# Nginx规则
location /
{
try_files $uri $uri/ /index.php?$args;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
# Apache 规则
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ -
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
WordPress 后台「主题」栏目 -> 上传主题 -> 启用主题,或者在 /wp-content/themes 文件夹新建webstack文件夹,并上传所有文件
果然点击地址出现404,请到WordPress 后台「设置」栏目 -> 固定链接 -> 保存更改
(Installation Guide:
Install WordPress, Tutorial Baidu
set pseudo static
# Nginx rules
location /
{
try_files $uri $uri/ /index.php?$args;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
# Apache rules
Rewrite Engine On
RewriteBase /
RewriteRule ^index\.php$ -
RewriteCond ?EQUEST_FILENAME} ! -f
RewriteCond ?EQUEST_FILENAME} !-d
RewriteRule ./index.php
WordPress background "Theme" section -> upload theme -> enable theme, or create a new webstack folder in /wp-content/themes folder, and upload all files
Sure enough, 404 appears when you click on the address, please go to the "Settings" section of WordPress background -> Permalink -> Save Changes)
页:
[1]