WordPress command line

Work on your Wordpres via command line – saves time & increasing fun! Did you know? WP-CLI is the official command line tool for interacting with and managing your WordPress sites. The idea is that it allows you to interact with, and manage, WordPress sites via a command line interface. According to the official documentation, it’s a command line alternative to using the traditional WordPress admin user interface. There are many things you can perform with that tool such as take backups, perfor...

How to clear the cache in WordPress

When caching is enabled, some changes do not reflect immediately. You need to manually clear the cache in order to view most recent changes. - Log in to WordPress Dashboard as the administrator. - In the left-hand pane, click Performance, and then click Dashboard. - To clear all of the caches at once, click empty all caches

Backing up your WordPress installation

t is vital that you backup WordPress files regularly. You can do a manual backup or use plugin to generate regular backups. While Servage does offer daily backups, we strongly recommend you create your own backups as well and download them. To backup WordPress files you can simply login in SSH and run this command: tar -cvf folder.tar folder/ Here ‘folder’ is the names of the website folder under which your WordPress files are stored. This will create a tar archive of the folder which you can...

How to change a WordPress username

How to change a WordPress username - Go to Servage control panel > MySQL page and click phpMyAdmin to open MySQL Database. - In the left-hand pane of phpMyAdmin, click the WordPress database. A list of tables in the database appears. - Click the wp_users table. - In the user_login column, locate the username that you want to change. - Double-click the username, type the new username, and then press Enter. - Log in to WordPress using the new us...

How to change a WordPress domain name url

How to change a WordPress domain name url - Go to Servage control panel > MySQL page and click phpMyAdmin to open MySQL Database. - In the left-hand pane of phpMyAdmin, click the WordPress database. A list of tables in the database appears. - Click the wp_options table. - Here, search for Siteurl and home fields. - Once located, double-click the ‘Siteurl’ and ‘home’ fields, type the new domain URL in both fields (eg: https://domain.com), and then press Enter to sav...

Error messages in WordPress with WP Debug

Servage Webhosting makes is very easy to run WordPresses via our services. We offer an application installer which installs that tool for you with few clicks only. Check HERE (https://helpdesk.servage.net/343405--Application-Installer) to see how to use the application installer. However, sometimes a WordPress page can get stuck and you see error messages. In this blog, we like to give information about Enable error messages in WordPress with WP Debug Let’s start and lets take a look at enabl...

How to reduce WordPress resource usage

How to reduce WordPress resource usage 1) Disable wp-cron: To disable WP-Cron, add the following to your wp-config.php file, just before the line that says “That’s all, stop editing! Happy blogging.” Note: This disables it from running on page load, not when you call it directly via wp-cron.php. define('DISABLE_WP_CRON', true); Once done, you can create real cron from task scheduler using this command: wget -q -O - https://domain.com/wp-cron.php?doing_wp_cron >/dev/null 2&...