View Categories

Configuring File Settings in WPHOOP Offload Media

Configuring File Settings in WPHOOP Offload Media

Once you’ve selected your storage bucket, the next step is to configure the file settings. These settings determine how files are uploaded, served, and managed. Here’s an explanation of each option available in the File Settings section:

1. Set Bucket Path #

Define the path within the bucket where files will be uploaded and served.

  • Example: Setting the bucket path as uploads/media/ will store files in bucket-name/uploads/media/.
  • Use this to organize your files in a structured manner within the bucket.

2. Auto Upload Media File to Bucket #

An On/Off toggle to automate media uploads:

  • On: Files will automatically upload to the selected bucket whenever new media is added to the WordPress Media Library.
  • Off: Files will remain on the local server until manually synced to the bucket.

3. Deliver From #

Choose where media files will be served from:

  • Bucket: Files are delivered directly from the cloud bucket for improved performance.
  • Local: Files are served from the local WordPress server, even if they’ve been uploaded to the bucket.

4. Rewrite URL #

This setting automatically generates media URLs based on your storage configuration. You can customize the URL prefix if needed:

  • Default Behavior: Media files will be served using the storage provider’s URL, such as https://bucket-name.s3.amazonaws.com/file.jpg.
  • Custom URL (for CDN): Update the URL prefix to match your CDN configuration. For example, https://files.yourdomain.com/ instead of the default bucket URL. This is essential for using a CDN to deliver media efficiently.

Example Configuration for CDN Integration: #

If you’re using a CDN, you can rewrite URLs as follows:

  • Storage provider URL: https://bucket-name.s3.amazonaws.com/
  • Custom CDN URL: https://files.yourdomain.com/

After configuring these settings, save your changes to ensure that WP Cloud Media functions according to your preferences. This setup optimizes file management, media delivery, and performance for your WordPress site.

 

Submit a Comment

Your email address will not be published. Required fields are marked *