All Projects β†’ rvola β†’ wp-original-media-path

rvola / wp-original-media-path

Licence: GPL-3.0 license
Change the location for the uploads folder for WordPress

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to wp-original-media-path

Filepicker
FilePicker library for Android
Stars: ✭ 181 (+722.73%)
Mutual labels:  media
Jcplayer
🎡 A simple audio player for Android applications.
Stars: ✭ 209 (+850%)
Mutual labels:  media
Jpsxdec
jPSXdec: cross-platform PlayStation 1 audio and video converter
Stars: ✭ 219 (+895.45%)
Mutual labels:  media
Atgmediabrowser
Image slide-show viewer with multiple predefined transition styles, with ability to create new transitions with ease.
Stars: ✭ 186 (+745.45%)
Mutual labels:  media
Wiv
Window image viewer [DEPRECATED]
Stars: ✭ 196 (+790.91%)
Mutual labels:  media
Yt Dlc
media downloader and library for various sites.
Stars: ✭ 2,590 (+11672.73%)
Mutual labels:  media
Shaden
🎧 A modular audio synthesizer.
Stars: ✭ 175 (+695.45%)
Mutual labels:  media
WP-Media-Uploader
Easily create a custom media upload button in WordPress admin dashboard that you can use in your plugin
Stars: ✭ 25 (+13.64%)
Mutual labels:  media
Unsilence
Console Interface and Library to remove silent parts of a media file πŸ”ˆ
Stars: ✭ 197 (+795.45%)
Mutual labels:  media
Meemooapp
Creative apps to use, build, share, and hack in the browser.
Stars: ✭ 220 (+900%)
Mutual labels:  media
Vue Media
A CSS media query component for Vue.js
Stars: ✭ 189 (+759.09%)
Mutual labels:  media
Symphonia
Pure Rust multimedia format demuxing, tag reading, and audio decoding library
Stars: ✭ 191 (+768.18%)
Mutual labels:  media
Artipub
Article publishing platform that automatically distributes your articles to various media channels
Stars: ✭ 2,685 (+12104.55%)
Mutual labels:  media
Render Media
Intelligently render media files in the browser
Stars: ✭ 181 (+722.73%)
Mutual labels:  media
Styled Components Breakpoint
Utility function for using breakpoints with styled-components πŸ’….
Stars: ✭ 231 (+950%)
Mutual labels:  media
Sickchill
Less rage, more chill.
Stars: ✭ 2,166 (+9745.45%)
Mutual labels:  media
Backend
Media Cloud is an open source, open data platform that allows researchers to answer quantitative questions about the content of online media.
Stars: ✭ 211 (+859.09%)
Mutual labels:  media
pyEmby
Python wrapper for Emby api
Stars: ✭ 21 (-4.55%)
Mutual labels:  media
Python Mpv
Python interface to the awesome mpv media player
Stars: ✭ 245 (+1013.64%)
Mutual labels:  media
Mediainfo.js
MediaInfo ported to the web using emscripten
Stars: ✭ 217 (+886.36%)
Mutual labels:  media

WP Original Media Path

Donate

Change the location for the uploads folder for WordPress

Description

WordPress has changed the media page, removing the two fields to define the location and the sub-field of media. There exists a constant wp-config.php, but it does not include sub-domains. Once activated, the plugin will add two values ​​in the database, you modify later. The plugin is not retroactive for images already uploaded. Follow the installation instructions to migrate your old images.

  • This extension is not compatible with WordPress multisite.
  • Thank you to try to find the solution by yourself or on the forum.
  • The author of the plugin is no after-sales service.
  • Most of the issues have already been addressed.

Requirement

  • PHP minimal: 7.0
  • WordPress minimal: 3.5

Installation

First of all, it is important to back up your website before using this extension. I can not be held liable if you lose content. Thank you.

Here is the installation. Normally, it’s pretty simple. Just enter the URL you want for your uploads directory. Be careful if you use a domain other than your domain, pointing your domains (DNS) to the desired folder.

For example, if I want to have http://media.domain.com as my URL for my uploads folder, I need to point DNS media.domain.com to the root of my WordPress site. Another example: http://other-domain.com/images. I have to point my domain to the images folder on my WordPress server.

The easiest way to understand how the extension works and only use your current WordPress domain at first. By default, the URL of the uploads folder of WordPress is http://domain.com/wp-content/uploads. Try for example to put this in the field: http://domain.com/media, then send an image by the usual WordPress media page and normally by magic, WordPress will create the media folder at the root of your WordPress And upload your image to your server.

If your website is blank, you do not have anything else to do. If your site already has images for a while, read on.

Please note that the URL change is never retroactive. This means that if you change the URL of the media folder, the images called in your article, etc. will still call the old URL. Similarly, templates and extensions that use dynamic functions will call the new URL while the items in the uploads folder will still be in the old folder.

The easiest if you want to migrate the URL is to do it in 3 simple steps:

Step 1

Change the field with the new URL.

Step 2

Move the contents of your old uploads folder to the location of the new URL. For example, my old folder URL is http://domain.com/wp-content/uploads and I now want the images to be http://domain.com/media; After changing the field in the options like this: http://domain.com/media, I move the contents of the http://domain.com/wp-content/uploads folder to the http://domain.com/media, so I allow dynamic functions to continue to find the media files in your new folder.

Step 3

Now we need to change, the old image calls http://domain.com/wp-content/uploads/2016/05/test.jpg for example that is in the content of WordPress articles. First you have to back up your database, because the operation can be damaging and I can not be held responsible. It is necessary to modify in SQL by a simple Search> Replace. There are extensions on WordPress that do the job very well, I think, especially at Search & Replace. Just search for http://domain.com/wp-content/uploads and replace it with http://domain.com/media which matches the field you entered in step 1.

Normally if you scrupulously follow these steps, you are able to be able to simply change the URL of your uploads folder.

Good continuation and think about adding a review.

Frequently Asked Questions

The plugin does it work with a real CDN?

Unfortunately not. Because WordPress is able to handle the file uploads directly. This plugin is only used to mount a mirror subdomains on Wordpress installation or change the location of file uploads.

I just set the plugin, but the images are not displayed

  1. Check that the path is correct specify.
  2. Check that the file was created on the server with the chmod 777 or 755.

My site is broken

  1. Do not panic!
  2. Refer to the help for configuring media fields.
  3. You can always follow the uninstallation procedure if you want to reverse.

Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].