• We just launched and are currently in beta. Join us as we build and grow the community.

How to restore website index hacked on wordpress

kawaii

New member
K Rep
0
0
0
Rep
0
K Vouches
0
0
0
Vouches
0
Posts
51
Likes
0
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 300 XP
1. Remove file index.php [Hacked]
2. Create new file index.php contain this script.
Code:
<?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.
*
* @ WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @ bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require DIR . '/wp-blog-header.php';
This is Default index for wordpress.
3. Upload it to your website.
That's it, have fun!
 

434,548

313,478

313,487

Top