Posts Tagged ‘wordpress’

Enabling Fail2ban

February 14th, 2016 No comments

Hundreds lines of log in wordpress show that, attackers are just trying passwords via xmlrpc.php. Add protection using the WP fail2ban plugin, inspired by the post here.

Categories: Tools Tags: ,

Enabing Pretty Permalinks

December 28th, 2015 No comments

Well.. long time no see. Just have some time to optimize the site for better analysis.

According to the official tutorial:
1. Enable mod_rewrite in apache2.

# sudo a2enmod rewrite

2. Enable FollowSymLinks option, which is default.
3. Enable FileInfo directives. Edit /etc/apache2/sites-available/, add:

  <Directory /home/yourname/yoursite/>
    Require all granted
    AllowOverride FileInfo

4. Restart apache:

# sudo service apache2 restart

Updated Dec 31, 2015:
Enabling mod_rewrite rewrites all requests including the one used by mod_status. To disable this, add a rule to the .htaccess file.

RewriteCond %{REQUEST_URI} !=/server-status

Then, change its user & group attributes to prevent overwriting from apache.

Categories: Tools Tags:

3 New Plugins Installed

July 8th, 2015 No comments

Just added another personal site for one of my friends. So another chance to speed up loading for my own site, from mainland china >.<

1. Disable google fonts: Remove Google Fonts References

2. Use local avatar: WP User Avatar

3. Use local emoji: WP Local Emoji (installed, but not activated.)

Categories: Tools Tags: ,