- login ke cpanel
- kemudian pilih menu filemanager dan masuk ke public_htmlnya
- kemudian cari file index.php seperti gambar berikut :
- 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
*/
/**
* 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);
* 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’);
?>
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:
Post a Comment