Searching...

Popular Posts

Cara mengatasi hacked pada wordpress

12:37 am
  • login ke cpanel
  • kemudian pilih menu filemanager dan masuk ke public_htmlnya
  • kemudian cari file index.php seperti gambar berikut :
cPanel File Manager v3
  • pilih pile index.php lalu klik kanan pilih code edit lalu pilih edit , maka akan terlihat file hack nya
  • tinggal ganti isi nya dengan isi file index.php yang original / backup instalan nya. atau coding berikut
<?php
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define(‘WP_USE_THEMES’, true);
/** Loads the WordPress Environment and Template */
require(‘./wp-blog-header.php’);
?>
  • kemudian save
untuk menanggulangi :
  • ganti file permission dari index.php dan wp-config.php yang asalnya 644 menjadi 600

0 comments: