Tag Archives: wordpress

Ubuntu 16.04 LTS tutorials

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04

How to secure an Ubuntu 16.04 LTS server

https://www.thefanclub.co.za/how-to/how-secure-ubuntu-1604-lts-server-part-1-basics

The Perfect Server – Ubuntu 16.04 (Xenial Xerus) with Apache, PHP, MySQL, PureFTPD, BIND, Postfix, Dovecot and ISPConfig 3.1

https://www.howtoforge.com/tutorial/perfect-server-ubuntu-16.04-with-apache-php-myqsl-pureftpd-bind-postfix-doveot-and-ispconfig/

How To Protect WordPress with Fail2Ban on Ubuntu 14.04

https://www.digitalocean.com/community/tutorials/how-to-protect-wordpress-with-fail2ban-on-ubuntu-14-04

UFW Essentials: Common Firewall Rules and Commands

https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands

Other readings…

Potential ufw and fail2ban conflicts

http://askubuntu.com/questions/54771/potential-ufw-and-fail2ban-conflicts

 

InfiniteWP – self-hosted multiple WordPress management platform

I run several WP blogs/sites… for me and for my clients…
3 of my WP blogs get 1.5K users per day… they aren’t huge, but they might get some extra attention to hackers…
Wordpress this days had some huge security vulnerabilities – WordPress itself and well known plugins like JetPack!…

One of my clients use Infinite WP.
I might try this out!

What is InfiniteWP?
InfiniteWP is a free, self-hosted multiple WordPress management platform that simplifies your WordPress management tasks into a simple click of a button.

TOP FEATURES
One Master Login
One-click access to all your WordPress dashboards. Forget your passwords once and for all.
One-click updates
Click the Update All button like a Boss and update everything – WP core, plugins and themes.
Instant Backup & Restore
Create backups of all your WordPress sites simultaneously. Restore backups instantly.
Manage Plugins & Themes
Activate, Deactivate and delete plugins and themes in bulk. Bulk install favorite plugins with a single click.

Google Chrome 85 Google Chrome 84

 

Google Chrome 83

 

 

On your wordpress you need to install InfinityWP plugin.
After install and activate it, you will see a screen like this…
Hit the Copy details and, from your WP you are done.

Google Chrome 81

On you Infinity WP, on the left bottom you will see a Add Website bottom. Hit it!

Google Chrome 86

 

Now, just Past the codes copied from your WordPress blog… 🙂
Repeat this for all your blogs! 🙂

Google Chrome 80

Google Chrome 82  Google Chrome 76

Google Chrome 77

Google Chrome 78

Google Chrome 79

 

 

 

WordPress caching – Quick Cache

I have a bunch of wordpress blogs, two of them getting 1k unique visitor each.

Both of homepage was taking almost 3 seconds to be compiled…
I’v installed a small WordPress Plugin named Quick Cache, to make cache of pages, and from almost 3 seconds now they are served in less that half of a second.

Before Quick Cache plugin

After Quick Cache plugin

History from some tests on the 10th of March and 17th of March.

WordPress – languages, translations – edit them!

I’m using Poedit to make the translations.
You can download it from their official website http://www.poedit.net/.

Well, lets start!

Locate your .po file of your theme folder.
I had to make some changes on it, with a text editor – I used coda -.
I had to change the “X-Poedit-SearchPath-0” to my correct path one or poedit crashed.

Make the translations!
You can hit Validate and Update but only when you close Poeditor the .mo file is updated!

I’v uploaded the new file to my theme_name/languages/ folder under pt_PT.po and pt_PT.mo.

This way I was seeing the translated items in the Admin board etc.

 

Splash page on wordpress

In a recent work, with wordpress, needed a splash page before anyone enter in the *real* page. In the index.php of the wp root installation, this is what I have to have it working.

if( (strpos($_SERVER['HTTP_REFERER'], 'riadeaveiro.pt') === false) && !$_SERVER['QUERY_STRING']){
 include './splash/splash.php';
 exit();
}

/**
 * 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);

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');

So, you should replace riadeaveiro.pt for the domain where the wordpress is, and ./splash/splash.php for the path of the slash page that you want to present to your visitor.