解决Google XML Sitemaps插件不能勾选HTML格式问题

一直没注意,原来Google XML Sitemaps插件上的HTML格式支持不能勾选,原配置内容如下:

Include sitemap in HTML format (The required PHP XSL Module is not installed).

继续谷歌,原来是AWS缺少安装php5-xsl的组件。

sudo apt-get install php5-xsl
sudo service apache2 restart

安装,并重启下apache2服务。刷新下配置,可以正常勾选!看来自己搞的话,缺少的组件还是不少的。不过每次发现一个,记录一个吧,也是不错的。

顺便再安装下php5的可能用到的几个模块,虽然现在没什么警告之类的。只是最近有关校验的有用到ASSL。。。。

sudo apt-get install php5-sasl php5-xcache php5-xmlrpc

 

参考资料:

Include sitemap in HTML format (The required PHP XSL Module is not installed) error in XML Sitemap Generator for WordPress

转载请注明: 转载自elkPi.com

本文链接地址: 解决Google XML Sitemaps插件不能勾选HTML格式问题

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

Scroll to top