The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WP Dashboard broken, only text visible (4 posts)

  1. samyukthak
    Posted 4 years ago #

    Hello, I recently had an attack on my .htaccess file which caused it to add the "reltime2012.ru/frunleh?9" after my address, thereby redirecting itself without going to the correct address.

    I managed to fix the problem, but in the process something went wrong and my website doesn't work. That is the least of my troubles for the moment as the WP dashboard itself is not functional. I tried un-installing and re-installing WP, but nothing seems to help :(

    Can anybody please help me and let me know what I should do? I'd be really grateful! I am attaching a screenshot of what the dashboard looks like:

    My resulting website from the problem: tealbrush.com/

    I use Hostgator as my hosting site

  2. racer x
    Posted 4 years ago #

    I cannot be sure, but if you are seing raw php code you may have accidentally removed the opening php tag? If you're not a programmer, it would have looked like:

    //then your code here...

    php code is never displayed like that. It gets parsed first before it ever gets to the browser when done correctly. May I ask exactly what you did when you fixed the problem? You may have done enough, that's why I ask.

  3. samyukthak
    Posted 4 years ago #

    Hi racer x,

    I only replaced the corrupt .htaccess file with a clean one and did not touch any other file.
    I also just checked the php tag and it is not different from what you have written.

  4. racer x
    Posted 4 years ago #

    That looks like a core WordPress file since it deals with the native help tab info. The main issue is that if your htaccess file was altered then hackers would have had access to many other files and they usually screw with those as well as add files or even plugins(you won't even see these plugins in your dashboard). You may need to do an update to replace the core files and then see if there's any other theme/plugin damages via ftp.

    Check all your index files and such also. Many times, the index files are just blanks so people can't browse the directory. If you see anything like base64 you know it's corrupt.

    Best of luck.

Topic Closed

This topic has been closed to new replies.

About this Topic