Title: WordPress hacked
Last modified: March 9, 2017

---

# WordPress hacked

 *  [srpasupport](https://wordpress.org/support/users/srpasupport/)
 * (@srpasupport)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/wordpress-hacked-27/)
 * In need of URGENT help.
 * Our wordpress website has been compromised and was redirecting all visitors to
   various pornographic websites. We was also unable to access the wr-admin console
   to update etc. I have download the website material through the FTP server. Is
   there a way I can delete or amend the content to pre-hack. I am a novice wordpress
   user.
 * I have changed our domain namespace settings to prevent visitors from accessing
   the website but this also means i am unable to access the site also.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [sinip](https://wordpress.org/support/users/sinip/)
 * (@sinip)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/wordpress-hacked-27/#post-8893205)
 * Do you have any backup available?
    If not, you can download the database, and
   the content of wp-content folder. Then you can make local WP installation (WAMP,
   XAMP, MAMP…) and try to recreate the site. And if all looks well, put it back
   online. Needless to say, you should find out how your site was hacked in the 
   first place…
 *  [barnez](https://wordpress.org/support/users/pidengmor/)
 * (@pidengmor)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/wordpress-hacked-27/#post-8893500)
 * [@srpasupport](https://wordpress.org/support/users/srpasupport/)
 * You will need to work through this resource:
    [https://codex.wordpress.org/FAQ_My_site_was_hacked](https://codex.wordpress.org/FAQ_My_site_was_hacked)
 * And then once your site is clean take the steps suggested here:
    [http://codex.wordpress.org/Hardening_WordPress](http://codex.wordpress.org/Hardening_WordPress)
 * You also have the alternative of restoring your site from a known clean backup
   of your site files and database (safely pre-hack) as suggested by [@sinip](https://wordpress.org/support/users/sinip/),
   and then changing all your passwords (WordPress Admin/cPanel/database/FTP), although
   if there is a vulnerability then you would still need to locate and fix that.
 * If this is beyond your skills base then there are solid companies out there who
   specialise in hack repair.
 * Good luck!
 * Good luck!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WordPress hacked’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [barnez](https://wordpress.org/support/users/pidengmor/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/wordpress-hacked-27/#post-8893500)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
