WordPress WP Backup Sample Script Rumi, July 26, 2024 #!/bin/bash # your backups will use these filenames. db_backup_name=”tweenpath-db-backup-“`date “+%Y-%m-%d”`”.sql.gz” wpfiles_backup_name=”tweenpath-files-backup-“`date “+%Y-%m-%d”`”.tar.gz” ## 1: database connection info. You can get these details from your wp-config file. db_name=”user_name” db_username=”database” db_password=”password” ## 2: Path to your WordPress Upload and Theme directories. Replace /home/username/ with path to your home directory. wp_upload_folder=”/home/tweenpath/public_html” ## 3:… Continue Reading
Upgrading WordPress Core Manually Rumi, April 14, 2022April 14, 2022 First create a full backup of your website. This is very important in case you make a mistake. Download the newest WordPress ZIP file from wordpress.org. Unzip the file into a directory on your local machine or in a separate directory on your website. Deactivate all of the plugins on… Continue Reading
WordPress Backup Script Rumi, August 23, 2020 #!/bin/bash # This script creates a compressed backup archive of the given directory and the given MySQL table. More details on implementation here: https://theme.fm # Feel free to use this script wherever you want, however you want. We produce open source, GPLv2 licensed stuff. # Author: Konstantin Kovshenin exclusively for… Continue Reading
Easyengine installaiton on Debian 10 Rumi, August 13, 2020 Install Easyengine WordPress on a Debian 10 VM (mine was a KVM). The following procedure will install EE with following components; Docker WordPress Core MariaDB Nginx Server PHP-FPM Redis Cache Let’s encrypt SSL Install EasyEngine on Linux wget -qO ee rt.cx/ee4 && sudo bash ee ee site create your_domain –type=wp… Continue Reading
Upgrade WordPress without FTP Rumi, March 26, 2017December 23, 2019 Open /wp-config.php Now the first thing you need to do is to open the wp-config.php file from your WordPress root folder (you may access this file from your WordPress installer folder). From the installation folder, the file is located at wordpress/wp-config.php Insert FS_METHOD Paste the following code to your wp-config.php… Continue Reading
Nginx wordpress fancy URL or permalink fixing Rumi, November 12, 2013 If your wordpress is installed in the root directory i.e. yourdomain.com, you can use the following directives- location / { try_files $uri $uri/ /index.php?$args; } # Add trailing slash to */wp-admin requests. rewrite /wp-admin$ $scheme://$host$uri/ permanent; location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ { expires max; log_not_found off; } Or if your wordpress is… Continue Reading