安装指南:
安装 WordPress ,教程百度
设置伪静态
# Nginx规则
location /
{
try_files $uri $uri/ /index.php?$args;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
# Apache 规则
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
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$ - [L]
RewriteCond ?EQUEST_FILENAME} ! -f
RewriteCond ?EQUEST_FILENAME} !-d
RewriteRule ./index.php [L]
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)
[下载]19490997346.rar
|