WordPress Object Storage Integration: Moving Media Files to Rabisu Object Storage
Keyword: WordPress Object Storage Integration
🧠 Technical Summary
This guide explains storing WordPress media files on GenixNode Object Storage.
The goal is to reduce server disk load and improve site performance.
Steps; Covers permission settings, plugin installation, and storage scenarios.
📘 What Will You Learn in This Guide?
On WordPress sites, images and videos fill the server disk over time.
In this guide, you will move media files to S3 compatible GenixNode Object Storage.
You will learn how to store files both on the server and in the cloud, or only in the cloud.
🔧 Prerequisites
Before you start you should have the following ready:
- A WordPress site running on Ubuntu
- LAMP stack must be installed
- WP-CLI tool must be installed
- GenixNode Object Storage bucket must be created
- Access Key and Secret Key information must be ready
1️⃣ Configuring WordPress File Permissions
Media files are kept in the wp-content/uploads directory.
This folder must be writable.
sudo mkdir -p /var/www/html/wp-content/uploads
- This command creates the uploads folder.
sudo chown -R genix_user:www-data /var/www/html/wp-content/uploads
sudo chmod -R g+w /var/www/html/wp-content/uploads
- These commands give write permission to the web server.
2️⃣ Installing the Object Storage Integration Plugin
Since GenixNode Object Storage is S3 compatible, we can use the DO Spaces Sync plugin.
cd /var/www/html/wp-content/plugins
wp plugin install do-spaces-sync
wp plugin activate do-spaces-sync
- These commands install and activate the plugin.
3️⃣ GenixNode Object Storage Connection Settings
In the WordPress panel, follow this path:
-
Settings → DigitalOcean Spaces Sync
-
Connection Settings
Access Key: Obtained from GenixNode panel
Secret Key: Obtained from GenixNode panel
Container (Bucket): media-bucket
Endpoint: https://tr1.genixnode.storage
- The default endpoint must be deleted.
Click the Check the Connection button to test the connection.
4️⃣ Scenario A: Keeping Files Both on the Server and in the Cloud
This method is suitable for those who want redundant operation.
Settings:
-
Full URL-path: http://server\_ip/wp-content/uploads
-
Local path: /var/www/html/wp-content/uploads
wp media import --path=/var/www/html/ /home/genix_user/ornek-gorsel.png
This script adds the file to the library and copies it to the cloud.
The file is located both on the server and in Object Storage.
5️⃣ Scenario B: Storing Files Only in the Cloud
- This method saves server disk.
Settings:
- Full URL-path: https://tr1.genixnode.storage/medya-kovasi
- “Delete from server after installation” option must be active
wp media import --path=/var/www/html/ /home/genix_user/test-logo.png
This script only sends the file to Object Storage.
The file is not kept on the server.
❓ Frequently Asked Questions (FAQ)
1. Are existing media files automatically moved? No. The plugin processes newly uploaded files.
2. Can it be used with CDN? Yes. CDN address can be written in the Full URL field.
3. What happens if the plugin is removed? Images may break if only cloud mode is used.
4. Does site speed increase? Yes. Static files are moved off the server.
🏁 Result
With this guide, you moved your WordPress media files to GenixNode Object Storage. Server disk load decreased, performance increased.
🚀 You can make your WordPress site scalable and fast with GenixNode Object Storage solutions.

