>°))))彡 Fisherman
  • Home
  • Project
  • Show Case
  • Contact
  • ProShop
  • About

Wordpress

A collection of 2 posts
Cos-html-cache for Wordpress
Wordpress

Cos-html-cache for Wordpress

https://wordpress.org/support/plugin/cos-html-cache/ wp-config.php define('WP_CACHE', true); 1. 下载cos-html-cache插件,将压缩包解压后,把文件夹上传到wp-content/plugins/目录下,上传成功后,在博客的根目录中新建文件夹,文件命名为index.bak,属性设置为0666( 一定要设置) 2. 登录WordPress管理后台,点击“Plugins”找到上传的插件,激活该插件,激活插件后,在“Setting–>Permalinks”中修改你的URL路径(注:空间要支持rewrite)。采用什么样的URL形式,根据您个人的喜好,网上有人推荐使用/html/y%year%/%post_id%.html格式,当然,如果你不怕麻烦可以使用这种/html/y%
Sep 19, 2021 1 min read
Wordpress Redis缓存加速
Wordpress

Wordpress Redis缓存加速

前端缓存的PHP脚本 $wget https://gist.githubusercontent.com/JimWestergren/3053250/raw/d9e279e31cbee4a1520f59108a4418ae396b2dde/index-with-redis.php $chown www.www ./index-with-redis.php 修改index-with-redis.php $cf = 0; // set to 1 if you are using cloudflare $debug = 1; // set to 1 if you wish to see execution time and cache actions $display_powered_by_redis = 0; // set
Sep 19, 2021 1 min read
Page 1 of 1
>°))))彡 Fisherman © 2025
  • Linkedin
  • Facebook
  • ProShop
Powered by Ghost