肉色超薄丝袜脚交一区二区,亚洲国产精品VA在线播放,又深又粗又爽又猛的视频,亚洲精品无码不卡在线播放

Board logo

標(biāo)題: [已解決] 【已解決,在5樓】wordpress偽靜態(tài)規(guī)則在WDCP2.0下面沒效果 [打印本頁]

作者: ftium4    時間: 2011-12-2 11:10     標(biāo)題: 【已解決,在5樓】wordpress偽靜態(tài)規(guī)則在WDCP2.0下面沒效果

本帖最后由 ftium4 于 2011-12-3 10:28 編輯

內(nèi)容我是按1.0版填的try_files $uri $uri/ /index.php?q=$request_uri;      
但是沒用啊
作者: ftium4    時間: 2011-12-3 10:01

試了三個規(guī)則了,都沒用,這是怎么回事啊!
作者: ftium4    時間: 2011-12-3 10:11

location / {
# if the requested file exists, return it immediately
if (-f $request_filename) {
break;
}

set $supercache_file '';
set $supercache_uri $request_uri;

if ($request_method = POST) {
set $supercache_uri '';
}

# Using pretty permalinks, so bypass the cache for any query string
if ($query_string) {
set $supercache_uri '';
}

if ($http_cookie ~* "comment_author_|<span class="wp_keywordlink"><a href="http://www.xiaoboyang.com/category/wordpress-2" title="wordpress" target="_blank">wordpress</a></span>|wp-postpass_" ) {
set $supercache_uri '';
}

# if we haven't bypassed the cache, specify our supercache file
if ($supercache_uri ~ ^(.+)$) {
set $supercache_file /wp-content/cache/supercache/$http_host/$1index.html;
}

# only rewrite to the supercache file if it actually exists
if (-f $document_root$supercache_file) {
rewrite ^(.*)$ $supercache_file break;
}

# all other requests go to WordPress
if (!-e $request_filename) {
rewrite . /index.php last;
}
}
這個也沒用
作者: ftium4    時間: 2011-12-3 10:19

service nginxd restart
也沒見到報(bào)錯信息
作者: ftium4    時間: 2011-12-3 10:27

wo cao
用了
rewrite ^.*/files/(.*)$ /wp-includes/ms-files.php?file=$1 last;

if (!-e $request_filename) {

rewrite ^.+?(/wp-.*) $1 last;

rewrite ^.+?(/.*\.php)$ $1 last;

rewrite ^ /index.php last;

}

終于成功了!
作者: Stone    時間: 2012-6-24 23:23

謝謝五樓的信息,WDCP 2.4 + WordPress 3.4測試成功!




歡迎光臨 WDlinux官方論壇 (http://www.gps-cemuyi.cn/bbs/) Powered by Discuz! 7.2