对于分类很多很杂的网站,有些朋友希望使用子域名来访问分类,通常的做法是使用 WordPress 的多站点模式,但是维护起来其实也不太方便。今天倡萌推荐一个可以让使用子域名访问 WordPress 分类的插件:WP Super Subdomains。按照作者的介绍,该插件不仅可以设置分类进行子域名访问,还可以设置 标签、作者归档、页面,比较不错的一点是,可以自动生成 301 重定向之前的网址到添加子域名后的网址,便于SEO。
该插件还支持 W3C Total Cache 或 WP Super Cache 缓存插件!
需要注意的是,要正常使用该插件,必须满足下图提到的两个条件:

在后台插件安装界面搜索 WP Super Subdomains 即可在线安装,或者从这里下载 WP Super Subdomains。
来源:
https://www.wpdaxue.com/wp-super-subdomains.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_33439.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57