All for Joomla All for Webmasters

WordPress: Recovering from permalinks hack


We have seen quite a few blogs hacked because WordPress was NOT updated on a timely manner. If you are seeing strange links in URL with eval, that means your blog is hacked.

Use phpmyadmin or shell mysql command to replace some bad stuff:

# mysql

mysql> update wp_options set option_value=” where option_name=’_transient_rewrite_rules’;

mysql> select * from wp_options where option_name=’permalink_structure’;

Check the above SQL select and see if you have any strange functions or code in wp_options field. Replace as required, for example:

mysql> update wp_options set option_value=’/%year%/%monthnum%/%postname%/’ where option_name=’permalink_structure’;


Like it? Share with your friends!

1 SHARES
0
1 SHARES, 0 points

WordPress: Recovering from permalinks hack

log in

Become a part of our community!

reset password

Back to
log in
Choose A Format
Personality quiz
Trivia quiz
Poll
Story
List
Meme
Video
Audio
Image