---
title: "WordPress-S3 Plugin"
description: "# How to Connect PeaSoup S3 to WordPress (S3 Plugin) Follow these steps to configure WordPress to offload media files to PeaSoup S3 using an S3-compatible plugin. This setup helps in storing media files on PeaSoup S3, reducing server load…"
url: "https://peasoup.cloud/docs/wordpress-s3-plugin/"
updated: "2024-11-05"
category: "S3-compatible Storage Knowledge Base / Connecting S3 Clients"
---

# WordPress-S3 Plugin

# How to Connect PeaSoup S3 to WordPress (S3 Plugin)

Follow these steps to configure WordPress to offload media files to PeaSoup S3 using an S3-compatible plugin. This setup helps in storing media files on PeaSoup S3, reducing server load and improving website performance.

## Prerequisites

- **PeaSoup S3 Access**: Ensure you have the following information:
  - Access key
  - Secret key
  - Bucket name
  - PeaSoup S3 endpoint URL https://**s3.eu-west-1.peasoup.cloud**
- **WordPress** website with administrative access.
- **S3-Compatible Plugin** installed, such as WP Offload Media Lite or similar.

## Steps to Connect PeaSoup S3 to WordPress

1. **Install and Activate the S3 Plugin**:
   - Log into your WordPress dashboard.
   - Go to *Plugins* > *Add New* and search for an S3-compatible plugin like **WP Offload Media Lite**.
   - Click *Install Now* and then *Activate* the plugin.
2. **Configure the S3 Plugin with PeaSoup S3**:
   - Once the plugin is activated, go to the plugin's settings page. You will find this under *Settings* > *Offload Media* or similar, depending on the plugin.
   - Configure the following settings to connect PeaSoup S3:
     - **Access Key**: Enter your PeaSoup S3 access key.
     - **Secret Key**: Enter your PeaSoup S3 secret key.
     - **Bucket Name**: Enter the name of the PeaSoup S3 bucket where your media files will be stored.
     - **Custom S3 Endpoint**: Enter the PeaSoup S3 endpoint https://**s3.eu-west-1.peasoup.cloud**
   - Click *Save Settings* to apply the configuration.
3. **Test the Connection**:
   - After saving the settings, test the connection by uploading a new media file through the WordPress Media Library.
   - Check if the file is uploaded to PeaSoup S3 by viewing the file URL, which should reflect your PeaSoup S3 bucket (e.g., `https://your-bucket.s3.pscloud.io/your-image.jpg`).
4. **Offload Existing Media to PeaSoup S3 (Optional)**:
   - If you already have media files on your WordPress server, you can offload them to PeaSoup S3 using the plugin.
   - Go to the plugin settings and look for the option to **Offload Existing Media**.
   - Select the files you want to move and follow the prompts to offload them to PeaSoup S3.
5. **Configure Additional Settings (Optional)**:
   - Most S3 plugins offer additional settings such as:
     - **Enable Object Versioning**: Keep multiple versions of your media files in PeaSoup S3.
     - **Set File Visibility**: Control whether the media files are private or publicly accessible.
     - **Change Upload Directory**: Customize the folder structure for how media is organized in your PeaSoup S3 bucket.
   - Customize these settings according to your requirements and click *Save*.

## Optional: Fine-Tune Plugin Settings

- In the plugin settings, you can fine-tune additional options to optimize your integration with PeaSoup S3:
  - **Delete Files from Server**: Automatically delete media files from your WordPress server after uploading them to PeaSoup S3 to save local storage.
  - **Serve Files from S3**: Ensure all media files are served directly from PeaSoup S3, reducing load on your web server.
  - **Compression**: Some plugins support compression of media files before uploading them to PeaSoup S3.

## Notes

- Ensure that your WordPress site can connect to PeaSoup S3 by verifying your server’s internet access and any firewall rules.
- PeaSoup’s S3-compatible API makes it an ideal solution for offloading and serving media from your WordPress website, improving performance and scalability.
