What is WordPress?
WordPress is a free and open-source content management system written in PHP and paired with a MySQL/MariaDB database. It is used for creating websites, blogs, and applications.
Deployment Variants
WordPress is available in two deployment configurations in Moltern:
WordPress with MariaDB
- Database: MariaDB
- Use case: Production deployments with MariaDB preference (recommended for most users)
- Components:
- WordPress container
- MariaDB container
- Automatic database configuration and health checks
WordPress with MySQL
- Database: MySQL
- Use case: Production deployments with MySQL preference
- Components:
- WordPress container
- MySQL container
- Automatic database configuration and health checks
Both variants provide equivalent functionality - choose based on your database preference or existing infrastructure.
Getting Started
- Open Services in Moltern
- Search for "WordPress"
- Click Deploy
- Set the initial admin email and password
- Confirm the deploy and wait for WordPress to finish installing
- Open the generated URL
Moltern prepares the database connection and installs WordPress automatically. The
initial admin username is admin; use the email and password you entered during
deploy for the WordPress admin account.
Links
FAQ
How to increase the upload size limit?
You can increase the upload size limit by following these steps:
- Open the
.htaccessfile through Moltern's Terminal (or through SSH, and docker exec -ticontainer_id/bin/sh) - Add the following lines to the end of the file with
viornano:
# END WordPress - this line already exists in the file
php_value upload_max_filesize 256M
php_value post_max_size 256M
php_value max_execution_time 300
php_value max_input_time 300
- Save and close the file.
- Reload the website in your browser. The changes should be applied automatically.
How to Fix a Redirection Loop in WordPress?
If your WordPress site is stuck in a redirection loop, follow these steps to resolve the issue:
Access the .htaccess file:
- Open the
.htaccessfile through Moltern's Terminal (or through SSH, and docker exec -ticontainer_id/bin/sh) - Navigate to the WordPress root directory and locate the .htaccess file. Edit the .htaccess file:
<IfModule mod_setenvif.c>
SetEnvIf X-Forwarded-Proto "^https$" HTTPS
</IfModule>
- Save and close the file.
- Reload the website in your browser. The changes should be applied automatically.