一、安装插件:No Category Base (WPML)

二、固定链接设置

①、设置带菜单地址的:/%category%/%post_id%.html

效果:safeing.org/菜单地址/neirong.html

②、设置不带菜单地址的:/%post_id%.html

效果:safeing.org/neirong.html

三、
然后伪静态设置为(nginx环境):
if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;
}

if (-f $request_filename/index.php){
rewrite (.*) $1/index.php;
}

if (!-f $request_filename){
rewrite (.*) /index.php;
}

去除导航category链接插件:No Category Base (WPML)

Download Nulled WordPress Themes
Download WordPress Themes Free
Download WordPress Themes Free
Download Nulled WordPress Themes
online free course
download lenevo firmware
Download WordPress Themes Free
download udemy paid course for free

共有 0 条评论