当前位置: 首页 > wordpress分享 > 所有文章
-
wordpress博客优化之首页静态化
2014年01月31日根据标题,直接给你首页静态化的方法; 首先新建一个php文件,文字可以自取,自己要记住,比如index-html.php,然后复制以下代码: <?php $baseCmsUrl = "https://www.ziyouwu.com"; $dmPageName = "index.php"; $stPageName = "index.html"; $tureStFile = dirname(__FILE__).'/'.$stPageName; { $body = ...
阅读全文