KEN MCGUIRE
  • My Podcasts
  • Guides
  • Resources
  • Archive
  • Contact
Ken McGuire
  • My Podcasts
  • Guides
  • Resources
  • Archive
  • Contact
Ken McGuire
No Result
View All Result
ADVERTISEMENT

How to move your WordPress uploads folder

Sometimes, storing your uploads in wp-content just doesn't seem right.

Ken McGuire by Ken McGuire
8 March, 2018
Reading Time: 2 min
Manage your WordPress uploads folder. Photo: Roman Kraft/Unsplash

Manage your WordPress uploads folder. Photo: Roman Kraft/Unsplash

Share on FacebookShare on Twitter

One of the first things I do with a new bog is move my WordPress uploads folder.

This is also referred to as your WordPress media library folder or WordPress uploads directory. It’s the folder on your server, automatically created, to hold all images, documents, audio and video uploaded through your blog.

See also: How to start a WordPress blog

Moving it is very easy, but requires a minor code adjustment to your blog’s wp-config.php file.

Rather than have my uploads appear in myblogurl.com/wp-content/uploads/ etc, I’ll use something shorter like ‘media’, or ‘assets’ or ‘files’, and make the links that bit prettier. It also isolates the uploaded files from core WordPress folders in the event you might accidentally overwrite them or have your install hacked.

Move your WordPress uploads folder

Best practice for this is starting with an empty blog i.e. before you’ve started adding media to your WordPress library.

To define a new folder, you will need to edit wp-config.php in your WordPress root directory. Take care to follow notes in the file, putting any edits in before the stop editing comment. If your wp-config.php does not contain comments, you add these lines in before ABSPATH is defined.

If you want to leave your uploads in the wp-content folder, insert this line.

define('uploads', 'wp-content/'.'assets');

In this case your uploads would go to a folder called assets inside wp-content.

If you want to store your uploads folder in the root of your WordPress install (i.e. before wp-content), use this line instead.

define('uploads', ''.'assets');

In this case, your uploads will now be stored at yourdomain.com/assets/.

Your uploads folders can still be separated into month and year by going to Settings > Media from your WordPress Dashboard. Simple.

WordPress media settings
WordPress media settings

Find this guide to moving your WordPress uploads folder useful? Let me know, have your say in the comments below.

Recommended Reading

Say hello to Web Stories for WordPress, powered by Google
Blogging

Say hello to Web Stories for WordPress, powered by Google

by Ken McGuire
23 September, 2020
Erling Haaland doing his thing in FIFA 21, out October 2020
Blogging

Spotlight on gaming at kenmc.com

by Ken McGuire
20 September, 2020
Publicize this: Connect WordPress to Facebook
Blogging

Publicize this: How to share your WordPress blog posts to Facebook pages

by Ken McGuire
15 August, 2018
Default WordPress .htaccess settings
Blogging

What are the default WordPress htaccess settings?

by Ken McGuire
1 May, 2018

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recommended Stories

Radio station mixing desk.

Covid-19: Discussing the changing role of local radio with IRS+

15 April, 2020
Zoom H6

Podcasting on the move with the new Zoom H6

22 August, 2018
Podcast recording. Photo: NeONBRAND/Unsplash

How to start a podcast in 2019: The bare necessities

4 January, 2019

Popular Stories

  • Podcast Badges: Apple Podcasts & Google Podcasts

    Podcast badges: Download Google Podcasts and Apple Podcasts badges today

    0 shares
    Share 0 Tweet 0
  • Where is my SoundCloud RSS feed?

    0 shares
    Share 0 Tweet 0
  • 6 good reasons you should start a podcast in 2020

    0 shares
    Share 0 Tweet 0
  • How to move your WordPress uploads folder

    0 shares
    Share 0 Tweet 0
  • Podcasting on the move with the new Zoom H6

    0 shares
    Share 0 Tweet 0
Ken McGuire

I'm a broadcaster, podcaster and lover of all things digital media.

LEARN MORE »

Recent Posts

  • Promote your podcast with Apple Podcasts Marketing Tools
  • UR Podcast #015: Urijah Faber
  • UR Podcast #014: Edward Hayden

Categories

  • All Things MMA
  • Articles
  • Blogging
  • Podcast Resources
  • Podcasting
  • Podcasts
  • Radio
  • Radio Interviews
  • Social Media
  • Spotlight
  • The Arts Show
  • UR Podcast

Copyright © 2021 Ken McGuire· Privacy

No Result
View All Result
  • My Podcasts
  • Guides
  • Resources
  • Archive
  • Contact

Welcome Back!

Login to your account below

Forgotten Password?

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.