双体标记导致Wordpress网站无法正常工作 [英] Double body tag causes Wordpress site not working properly

查看:127
本文介绍了双体标记导致Wordpress网站无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我有一个奇怪的问题。当HTML代码只有一个时,在BlueHost上托管的大多数Wordpress网站都有双重标记。有双重标记会导致Wordpress网站的问题被正确呈现(CSS不被触发)或具有整体功能问题(布局,菜单等破损)。



示例: double body tag http://i61.tinypic.com/oap5hy.jpg



呈现的网站: http://awesomescreenshot.com/0d62g32l26



和网站网址: http://www.rosefiore.com/


header.php: http://pastebin.com/pvgLfwGb footer.php:
http:// pastebin。 com / iehsX77B index.php: http://pastebin.com/3BVE1U4V


任何线索发生了什么事?

解决方案

好吧,它看起来像我们的BlueHost帐户被黑客,每个WP安装得到代码注入到wp-config.php文件,看起来像 http ://pastebin.com/zbVFcUHZ



对我来说,它看起来像服务器级别的黑客,因为所有的wp配置文件在同一时间被感染一些这些网站背后的.htaccess密码保护和WP引擎阻止写入该文件时WP已经安装。


Well, I have strange issue. Most of Wordpress sites hosted on BlueHost have double tag when the HTML code has only one. Having double tag causes issues with Wordpress sites to be rendered properly (CSS is not triggered) or have overall functional issues (broken layout, menu etc).

Example: double body tag http://i61.tinypic.com/oap5hy.jpg

rendered site: http://awesomescreenshot.com/0d62g32l26

and site URL: http://www.rosefiore.com/

header.php: http://pastebin.com/pvgLfwGb footer.php: http://pastebin.com/iehsX77B index.php: http://pastebin.com/3BVE1U4V

Any clue what is going on?

解决方案

Well, it looks like our BlueHost account got hacked and each WP installation got code injection into wp-config.php file which looks like http://pastebin.com/zbVFcUHZ

For me it looks like server level hack because all wp-config files were "infected" at exact same time, some of those sites were behind .htaccess password protection and WP engine prevents write to that file when WP is already installed.

这篇关于双体标记导致Wordpress网站无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆