Wordpress Multisites

Enabling WordPress Multisite allows you to manage multiple sites from a single WordPress installation. Here’s how you can set it up: Backup Your Site: Before making any changes, ensure you have a complete backup of your WordPress site. Edit wp-config.php: Open your wp-config.php file. Add the following line above the /* That’s all, stop editing! Happy publishing. */ line: define('WP_ALLOW_MULTISITE', true); Access Network Setup: Log in to your WordPress dashboard. Go to Tools > Network Setup....

March 19, 2025 · 2 min · subzero

Reset Wordpress Password

You can reset your WordPress admin password in a Docker environment using WP-CLI. Here are the steps: Access your Docker container: docker exec -it <container_name> bash Navigate to your WordPress directory: cd /var/www/html List the users: wp user list Update the password for the desired user: wp user update <user_id> --user_pass=<new_password> Exit the container: exit In case there is an error like wp command not found, WP-CLI isn’t installed in your Docker container....

March 18, 2025 · 1 min · subzero

Install Wordpress With Docker

Here are the steps to install WordPress under Docker, including setting up a directory for file backups and adding an uploads.ini file to customize PHP settings. Step 1: Create a Directory for Your Project Open a terminal and create a directory for your WordPress project: mkdir wordpress-docker cd wordpress-docker Step 2: Create a docker-compose.yml file Create a docker-compose.yml file in the wordpress-docker directory with the following content: version: '3.8' # Specifies the Docker Compose file format version services: wordpress: image: wordpress:latest container_name: wordpress ports: - "8000:80" volumes: - ....

March 17, 2025 · 2 min · subzero