Archive for the ‘Wordpress’ Category
WordPress Security Tips
One of my blogs was hacked 2 days ago and I was forced to find ways to increase it’s security.
Here are some advices I got from the hosting and from my frineds.
1. Upgrade WordPress version to the last one.
2. Upgrade all plugins
3. To install a plugin call “login lockdown” – it should prevent dictionary attacks on the login area.
4. To install plugin called “server buddy” – allows to check security at wp-admin/tools.php?page=pluginbuddy_serverbuddy
5. To change password to something stronger
6. To make regular backups of the blog
7. Protect wp-config.php File by editing .htaccess file and adding the following lines:
# Protect wp-config.php
<?php
order allow,deny
deny from all
?>
8. Set proper File Permissions – right click on the file -> choose properties -> change to 644 – reading only mode
Free WordPress Plagin
I finally found solution for the problem with text widgets should be showed on the home page only of the blog.
1. Go to Plagin section
2. Install Exec-PHP plugin
4. Activate it.
3. Add text widget to your side bar
4. Enter following php code
<?php if(is_home() && $post==$posts[0] && !is_paged()) { ?>
Home Page Text only
<?php } ?>