5 articles Wordpress

Sched­ule backups of web­sites

The most com­mon way to auto­mat­ic­ally run scripts at sched­uled times is through cron. For example, you can use cron to make sched­uled web requests to a spe­cif­ic URL on your web­site. This is a reli­able way to per­form peri­od­ic work, such as mail­ing users or gen­er­at­ing reports. Word­Press and Drupal have imple­men­ted sys­tems that…

How to upload web­site backups to Drop­box

See more info here Drop­box Upload­er is a BASH script which can be used to upload, down­load, delete, list files (and more!) from Drop­box, an online file shar­ing, syn­chron­iz­a­tion and backup ser­vice. It’s writ­ten in BASH script­ing lan­guage and only needs cURL. You can take a look to the GiHub pro­ject page. Why use this…

Add Word­Press users via MySQL

INSERT INTO ‘[databasename]‘.‘wp_users‘ (‘ID‘, ‘user_​​login‘, ‘user_​​pass‘, ‘user_​​nicename‘, ‘user_​​email‘, ‘user_​​url‘, ‘user_​​registered‘, ‘user_​​activation_​​key‘, ‘user_​​status‘, ‘display_​​name‘) VALUES (‘4’, ‘name’, MD5(‘password’), ‘Isaac Rayner’, ‘isaac.​rayner@​gmail.​com’, ‘http://​wiki​.onlin​enow​.co​.nz’, ‘2016−10−21 00:00:00′, ”, ‘0’, ‘Isaac Rayner’);   INSERT INTO ‘[databasename]‘.‘wp_usermeta‘ (‘umeta_​​id‘, ‘user_​​id‘, ‘meta_​​key‘, ‘meta_​​value‘) VALUES (NULL, ‘4’, ‘wp_​​capabilities’, ‘a:1:{s:13:“administrator”;s:1:“1”;}’);   INSERT INTO ‘[databasename]‘.‘wp_usermeta‘ (‘umeta_​​id‘, ‘user_​​id‘, ‘meta_​​key‘, ‘meta_​​value‘) VALUES (NULL, ‘4’, ‘wp_​​user_​​level’, ‘10’);   NOTE:…

Intro­duc­tion to Blog­ging

What is a “blog”? “Blog” is an abbre­vi­ated ver­sion of “web­log,” which is a term used to describe web­sites that main­tain an ongo­ing chron­icle of inform­a­tion. A blog fea­tures diary-type com­ment­ary and links to art­icles on oth­er web­sites, usu­ally presen­ted as a list of entries in reverse chro­no­lo­gic­al order. Blogs range from the per­son­al to…

How to Fix the Error Estab­lish­ing a Data­base Con­nec­tion in Word­Press

If you have been surf­ing the web for a while, you have at least seen this error a few times. Error Estab­lish­ing a Data­base Con­nec­tion is one of those curses that could be caused by many reas­ons. As a Word­Press begin­ner, this could be awfully frus­trat­ing spe­cially when it happened on its own without you…