wordpress跳转主页问题
server {
listen 80;
server_name localhost;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root html;
index index.html index.htm index.php;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /opt/nginx/html$fastcgi_script_name;
include fastcgi_params;
}
server {
listen 8080;
server_name 172.21.12.33:8080;
root /opt/nginx/html/wordpress;
location / {
index wp-login.php test.php index.php index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
location ~ \.php$ {
# root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /opt/nginx/html/wordpress$fastcgi_script_name;
include fastcgi_params;
}
}
server {
listen 8081;
server_name 172.21.12.33:8081;
root /usr/share/phpmyadmin;
location / {
index index.php index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
location ~ \.php$ {
# root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /usr/share/phpmyadmin$fastcgi_script_name;
include fastcgi_params;
}
}
server {
listen 8082;
server_name 172.21.12.33:8082;
root /opt/nginx/html/wordpress;
location / {
index index.php index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
location ~ \.php$ {
# root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /opt/nginx/html/wordpress$fastcgi_script_name;
include fastcgi_params;
}
}
server {
listen 8083;
server_name 172.21.12.33:8083;
root /opt/nginx/html/wordpress-CN-3.9/wordpress;
location / {
index wp-login.php test.php index.php index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
location ~ \.php$ {
# root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /opt/nginx/html/wordpress-CN-3.9/wordpress$fastcgi_script_name;
include fastcgi_params;
}
}
server {
listen 8084;
server_name 172.21.12.33:8084;
root /opt/nginx/html/wordpress-CN-3.9/wordpress;
location / {
index index.php index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
location ~ \.php$ {
# root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /opt/nginx/html/wordpress-CN-3.9/wordpress$fastcgi_script_name;
include fastcgi_params;
}
}
电脑上安装了wordpress中文版和英文版,8080端口跳转到英文登录界面没问题,8081跳转到phpmyadmin没问题,8083跳转到中文登录界面没问题。唯独8082和8084分别跳转到wordpress的主页就显示空白页面,浏览器上方地址自动跳转到80.
求解答,万分感激!
相关推荐
Woocommerce Wordpress Theme: The One Pager V1.2.3
Woo commerce主题The One Pager 最新版 V1.2.3 本代码仅供学习参考!
请问wordpress,使用markdown生成页面如何跳转url?
实战问题 请问wordpress,使用markdown生成页面如何跳转url? 我目前遇到问题是,页面生成了url,但是页面中每次点击后都直接跳转到主页面了。 解决方案 原理:wordpress为了提供网站权限,因此页面只能打开自己网站的地址。解决方案,安装“Go Redirects URL Forwarder” 插件即可解决 1. 安装插件 添加新地址 获取地址 加入我们共同交流 群名称:WordPress技术交流群 群号:598158796 ...
Blog打造自媒体平台风格主题的博客 - WordPress专属主题
自适应布局,手机端、电脑端完美兼容呈现 后台高度自定义主题设置(logo、favicon、幻灯、底部导航、网站公告等等…) 丰富站点基础优化(精简头部代码、去除category、文章外链自动添加nofollow、 Tag标签自动内链、图片自动添加alt、自动添加已有关键词等等…) 自定义配色 (目前仅有导航自定义配色,后面会增加更多) 自定义封面高度尺寸 自定义设置文章默认缩略图 首页、文章AJAX加载(上一页/下一页数字加载、AJAX加载) 丰富广告位(首页、列表页、侧边栏无限新增广告图) 注意: 此模板需安装以下插件方可正常使用: JOYtheme 推出的 WordPress 整合型插件 小宇宙插件时一款Wordpress优化插件,装上这款WordPress插件就可以对你的网站 进行高效率的优化操作,避免了到处找代码的尴尬。 目前有如下功能,而且部份joytheme的主题需要配合此插件共同使用。
在wordpress导航栏添加页面跳转
有些时候我们想在导航栏的位置自己添加个页面,当然不是友情链接、关于之类的页面了,因为这些页面一般主题都有模板。怎么使用我就不必多说了。今天说的是建立一个其他的页面,比如说添加一个静态的html页面,这个好多新手更是无从下手,就是想在head.php页面直接添加也不知道添到什么地方! 在网上找到了两种解决方式:
Wordpress后台登录不跳转.pdf
Wordpress后台登录不跳转.pdf


Framework
