删除WordPres自动生成的版本号信息-WordPress主题

摘要:本文的方法是为了添加wordpress程序的安全来考虑的,默认wordpress程序会自动在js和css结尾生成一个版本…

本文的方法是为了添加wordpress程序的安全来考虑的,默认wordpress程序会自动在js和css结尾生成一个版本参数,类似?ver=4.6这样的版本号信息
这样的自动添加无形中泄露了您的程序版本,为您的网站安装带来了风险,所以下面大挖推荐您一个删除wordpress和源码中自动版本信息的操作方法

只移除WP的版本号

移除所有版本号

来源:http://www.wazhuti.com/316.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_13095.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?