fire icon

BFCM Sale Is Live!  |  Get 30% OFF Lifetime Plans!

AFM Beta testing

Advanced File Manager Beta v6.0.0 Is Live

Get early access. Test new features before anyone else. Join the beta and help shape what ships next.


Get the download link on your email.

Email

How to Move, Rename, and Delete Files and Folders in WordPress (Step-by-Step Guide)

Managing WordPress files is an essential part of maintaining a secure, organized, and efficient website. Whether you need to move uploaded files, rename folders, or delete outdated content, keeping your file structure organized makes troubleshooting, backups, and everyday website maintenance much easier.

While many website owners rely on FTP clients or hosting control panels like cPanel, you can perform these file management tasks directly from your WordPress dashboard with a WordPress file manager plugin. This approach saves time, simplifies file operations, and reduces the risk of accidental mistakes.

In this step-by-step guide, you’ll learn how to safely move, rename, and delete files and folders in WordPress using Advanced File Manager, along with best practices to protect your website and avoid common file management errors.

What Happens When You Move, Rename, or Delete a File in WordPress?

Before you start managing your WordPress files, it’s important to understand what each action actually does and how it can affect your website.

  • Moving a file changes its location within your WordPress directory structure. If the file is linked from a page, theme, or plugin, you may need to update those references after moving it.
  • Renaming a file or folder changes its name and file path. For publicly accessible files, such as images or PDFs, this also changes the file URL, which can lead to broken links if the old path is still in use.
  • Deleting a file or folder permanently removes it from your website unless your file manager includes a Trash or recovery feature. If you are using the Advanced File Manager plugin, you can enable the Trash feature. Deleting files that your themes, plugins, or website content rely on can cause errors or missing functionality.

Understanding these differences helps you organize your WordPress files safely, avoid broken links, and reduce the risk of accidentally disrupting your website.

Why Use a WordPress File Manager Instead of FTP or cPanel?

Before we get into the actual steps, it’s worth taking a moment to understand why a file manager is genuinely the better and more sensible option for most people.

Reason 1: FTP Requires Extra Setup

FTP (File Transfer Protocol) gives you direct access to your website files, making it a popular choice for developers. However, it isn’t the easiest option for everyday WordPress file management.

Before you can connect, you need to install an FTP client like FileZilla, find your server credentials, and configure the connection. Once connected, you’ll navigate your website’s file structure manually, which can be confusing if you’re unfamiliar with WordPress directories. A simple mistake, such as moving or deleting the wrong file, can also affect your website.

For occasional tasks like uploading or renaming files, FTP often requires more setup than necessary.

Reason 2: cPanel Adds Unnecessary Steps

Most hosting providers include a File Manager in cPanel, but using it means leaving your WordPress dashboard and logging into a separate hosting account.

Since cPanel manages your entire hosting environment, you’ll see server directories alongside your WordPress files. If you only need to upload, rename, or organize files, navigating these folders can feel overwhelming. For many users, it’s simply more work than the task requires.

Reason 3: A File Manager Plugin Keeps Everything in WordPress

A WordPress file manager plugin lets you manage website files directly from your dashboard, giving you a visual file browser for uploading, moving, renaming, copying, and deleting files without FTP or cPanel.

You can upload, move, rename, copy, or delete files using a familiar interface with features like drag-and-drop support, right-click menus, and confirmation prompts. Because everything stays inside wp-admin, managing your WordPress files becomes faster, simpler, and less prone to mistakes.

Why Advanced File Manager Is the Best Choice

Advanced File Manager is one of the most popular WordPress file manager plugins, with more than 100,000 active installations. It provides an intuitive interface for managing WordPress files directly from the dashboard without relying on FTP clients or hosting control panels.

advanced file manager Is the best choice

Advanced File Manager is built specifically around the WordPress directory structure, meaning it understands the difference between your theme, plugin, and wp-content/uploads directories. It’s designed so anyone can move, rename, and delete files safely and confidently.

Here’s how the three approaches stack up side by side:

MethodSetup RequiredBeginner-Friendly?Best For
FTPSeparate desktop app, server hostname, username, and passwordNoDevelopers, large bulk transfers, advanced server work
cPanel File ManagerSeparate hosting portal login, unfamiliar interfaceSomewhatServer-level tasks outside WordPress itself
File Manager PluginNone – install plugin directly on WPYesDay-to-day WordPress file tasks of every kind

It becomes clear over time that the vast majority of what a typical site owner will ever need is moving, renaming, editing, and deleting files, making the plugin a sensible choice.

Prerequisites – What You Need Before You Start

Getting set up takes only a few minutes, but it’s worth doing carefully so that everything is in place before you start moving things around.

Install and Activate Advanced File Manager Plugin

  1. Go to Plugins → Add Plugin
Advanced File Manager plugin compared with FTP and cPanel for WordPress file management
  1. Enter Advanced File Manager in the search bar at the top right, then click Install Now.
Go to Plugins and select Add Plugin in the WordPress dashboard
  1. Click Activate to start using the plugin.
Search for the Advanced File Manager plugin in the WordPress plugin directory

You have successfully activated the file manager plugin! The plugin is now ready to use.

Understanding the File Manager Interface

  1. Go to the WordPress dashboard
  2. You will find File Manager there; click on it to open the Advanced File Manager dashboard.
Activate the Advanced File Manager plugin in WordPress

Before making any changes, it helps to spend a minute just looking around. 

  1. On the left side of the interface, you’ll see a collapsible folder tree representing your entire WordPress installation: folders like wp-content, wp-admin, and wp-includes will be visible here. Clicking any folder expands it and shows its contents in the main panel on the right.
Open the Advanced File Manager dashboard from the WordPress admin menu
  1. On the right side, you’ll see the list of files, including their file names, permissions, last modified date, size, and file type.
Expand a folder in Advanced File Manager to browse WordPress directories
  1. Along the top of the interface sits a toolbar with icons for the core actions you’ll be using throughout this guide: upload, create new file or folder, rename, delete, cut, copy, and paste. 
File list showing WordPress files and folders in Advanced File Manager

Taking a few minutes to click around, expand a few folders, and get a feel for where things live will make every step that follows much smoother.

Which Files and Folders Are Safe to Move or Rename?

Not every file in your WordPress installation should be moved or renamed. Changing the wrong file or folder may break your site or prevent plugins and themes from working correctly.

As a general rule, it’s safe to organize files you uploaded yourself, but you should avoid modifying WordPress core files or directories unless you know exactly what you’re doing.

Safe to Move or Rename

The following files and folders are generally safe to move or rename inside wp-content/uploads, provided you update any links or references that point to them:

  • Images and media files that aren’t hardcoded into your theme or plugins.
  • PDFs, documents, and downloadable files uploaded for visitors.
  • Custom uploads such as ZIP files, CSV files, videos, and other assets stored for your projects.
  • Backup files you’ve created and no longer want to keep in their current location.
  • Folders you created yourself for organizing media, downloads, or project files.

Avoid Moving or Renaming

Some files and folders are critical to how WordPress operates. Changing their names or locations can cause errors, disable plugins, or even make your website inaccessible.

Avoid moving or renaming:

  • wp-admin – Contains the files required for the WordPress admin dashboard.
  • wp-includes – Stores core WordPress libraries and essential system files.
  • Plugin folders inside wp-content/plugins – Renaming an active plugin folder can deactivate the plugin or trigger errors.
  • Your active theme folder (wp-content/themes) – Moving or renaming it can break your site’s design and functionality.
  • wp-config.php – Stores your WordPress site’s database credentials and configuration settings. Renaming or relocating it can prevent WordPress from loading.

If you’re unsure whether a file is safe to modify, create a full website backup first and leave WordPress core files, active plugins, and theme directories unchanged. When in doubt, only organize files and folders that you or your team uploaded manually.

How to Move Files and Folders in WordPress

Moving files is probably the single most common task people reach for a file manager to do, so let’s go through every method available, from the simplest to the most precise.

Method 1: Move a Single File Using Drag and Drop

This is the fastest method and the one most people gravitate toward once they get comfortable with the interface. 

  1. Open Advanced File Manager from your WordPress dashboard
  2. Select the file you want to move, then drag and drop it into the destination folder.
Advanced File Manager toolbar with upload, rename, move, copy, paste, and delete options
  1. Click and hold the left mouse button, then drag the file to the desired folder.
Select a WordPress file before moving it to another folder

When you drag a file, Advanced File Manager displays visual indicators showing whether you can drop it into the selected folder. A valid destination displays the 🔼 icon, while an invalid location shows 🚫.

  1. Now release the left mouse button to move the file in the desired location.

This method works especially well when you’re moving a file just a folder or two away and can see both the source and destination without much scrolling. 

It starts to feel less convenient, though, when you’re trying to drag a file across a very long folder tree that requires a lot of scrolling to keep both locations in view.

Method 2: Move Files Using the Cut + Paste Menu

If dragging feels imprecise, or if your source and destination folders are far apart in the tree, the cut-and-paste approach is often more reliable. 

  1. Go to the Advanced File Manager dashboard.
  2. Select the file you want to move.
Drag and drop a file to move it to a different WordPress folder
  1. Now you can do two things:
    1. Right-click on the file and select Cut.
Move WordPress files using the Cut and Paste options in Advanced File Manager
  1. On the top menu, click on the Cut Icon.
Right-click a WordPress file and select Cut to move it
  1. Now open the desired location where you want to paste the file.
  2. You can follow the same two ways to paste the file in the destination:
    1. Right click and select Paste.
Click the Cut icon to move a selected WordPress file
  1. On the top menu, click the Paste icon.
Right-click and select Paste to move a file into a new folder

This method has the advantage of not requiring both folders to be visible on screen at the same time, which makes it much easier when you’re navigating a deep or complex folder structure — for example, moving a file from deep inside a plugin’s subfolder into your media uploads directory.

Method 3: Move Multiple Files at Once (Bulk Move)

There’s no need to repeat the same action file by file when you’re dealing with a group of them. 

  1. Hold the CTRL button on your keyboard and click on multiple files. As you click on each file, you will notice it will be selected in bulk.
Click the Paste icon to complete moving a WordPress file
  1. Click and hold the left mouse button, then drag the files to the desired folder.
Select multiple WordPress files for bulk file management

You will see the 🔼 and 🚫 symbols, and the number of files being moved will appear at the top left of the file.

  1. Now release the left mouse button to move the selected files or folders to the desired location.

This approach moves every selected file at once, saving you from repeating the process dozens of times.

Method 4: Move Entire Folders

Everything described above works exactly the same way for entire folders, not just individual files. If you have a folder containing dozens of related images or documents, you don’t need to move them one at a time. 

  1. Hold the CTRL button on your keyboard and click on multiple folders. As you click on each folder, you will notice it will be selected in bulk.
Drag multiple files into the destination folder in Advanced File Manager
  1. Click and hold the left mouse button, then drag the folders to the destination.
Hold the Ctrl key to select multiple folders in WordPress File Manager

You will see the 🔼 and 🚫 symbols, and the number of folders being moved will appear at the top left of the folder.

  1. Now release the left mouse button to move multiple files to the desired location.

This is particularly useful when reorganizing a site that’s grown messy over time.

How to Rename Files and Folders in WordPress

Renaming is one of the simplest actions you can take, but it comes with a few consequences worth understanding before you dive in.

How to Rename a Single File

You can easily rename a file in two ways. Follow the steps carefully.

  1. In the Advanced File Manager dashboard, select the file you want to rename.
Move multiple WordPress folders at once using Advanced File Manager
  1. You can either:
    1. Right click on the selected file and select Rename from the menu.
Select the WordPress file you want to rename
  1. Click on the Rename Icon on the top bar.
Right-click a file and choose Rename in Advanced File Manager
  1. Enter your desired name and then press Enter to save changes.
Rename a WordPress file using the toolbar Rename icon

The file is now renamed.

How to Rename a Folder / Directory

The process for renaming a folder is identical to renaming a file. 

  1. Right-click the folder, choose Rename, type in the new name, and confirm. 
Enter a new file name to rename a WordPress file
  1. Select the folder, click on the Rename icon, type in the new name, and press Enter to confirm.
Rename a folder in WordPress using Advanced File Manager

Renaming a folder changes its directory path, but the files inside remain unchanged. If any themes, plugins, or website pages reference the old folder path, update those references to avoid broken links or missing resources.

How to Delete Files and Folders in WordPress

Deleting is the most permanent of the three actions covered in this guide, so it deserves a little extra care and a few extra precautions.

How to Delete a Single File

Just like moving and renaming files and folders, the process of deleting a single file is super easy too. Here’s how you can do that:

  1. In your Advanced File Manager dashboard, select a file.
Select a WordPress folder before renaming it
  1. Either press the right mouse button to open the menu and select Delete.
Select a single WordPress file for deletion
  1. Or, click on the Delete icon from the top bar.
Right-click a WordPress file and select Delete

How to Delete Multiple Files at Once (Bulk Delete)

Just like moving multiple files, you can delete multiple files at once.

  1. Hold CTRL and select as many files as you want to delete.
Select multiple WordPress files for bulk deletion
  1. Click on the Delete icon, and press “Remove” on the confirmation pop-up.
Confirm bulk file deletion by clicking Remove

The confirmation pop-up also shows the number of items you want to permanently delete.

How to Delete an Entire Folder (With All Contents)

  1. Head to the Advanced File Manager dashboard.
  2. Right-click the folder, choose Delete, and confirm by pressing “Remove”. 
Delete a WordPress folder by confirming the Remove prompt
  1. Select the folder, click on the Delete icon, and press “Remove” on the confirmation pop-up.
Delete a folder in WordPress using Advanced File Manager

Note: When you delete a folder with its contents, the confirmation pop-up will also show the number of folders and files it contains. So you don’t get mistaken that it was blank.

Security Best Practices When Managing WordPress Files

Managing your WordPress files directly gives you more control over your website, but it also means small changes can have a big impact. Following a few simple best practices can help you avoid common mistakes and keep your site running smoothly.

  • Keep a Backup Before Making Changes

Before editing, moving, or deleting any files, create a recent backup of your website. If something doesn’t go as planned, you’ll be able to restore your site quickly instead of troubleshooting a broken installation.

  • Be Careful with Core WordPress Files

WordPress relies on several core files and folders to function properly. Unless you’re following official documentation or a trusted guide, avoid modifying files such as wp-config.php, .htaccess, or the wp-admin and wp-includes directories.

  • Use Standard File Permissions

Correct file permissions help WordPress work as intended while reducing the chance of accidental changes. In most hosting environments, files use 644 permissions and folders use 755. If you need to adjust permissions, make sure you understand the changes before applying them.

  • Organize Files Thoughtfully

Store custom uploads, scripts, and project files in appropriate directories instead of mixing them with WordPress core files. Keeping your file structure organized makes maintenance, troubleshooting, and future updates much easier.

  • Limit Access to File Management Tools

Only grant file manager access to users who genuinely need it. Restricting access to trusted administrators helps prevent accidental file changes and keeps your website easier to manage over time.

  • Verify File References After Moving

After moving or renaming files, check your website pages, media links, and plugin settings to confirm they still point to the correct file path. This helps prevent broken images, download errors, and missing assets.

  • Avoid Editing Files on a Live Website

If you’re making major file changes, test them on a staging site first. Updating files in a staging environment lets you catch issues before they affect your live website.

Take Control of Your WordPress Files

Managing WordPress files doesn’t have to be complicated. With the right WordPress file manager plugin, you can move, rename, and delete files and folders directly from your WordPress dashboard without relying on external tools or complex workflows.

By following the steps and best practices in this guide, you can organize your WordPress file structure more efficiently, reduce the risk of broken links, and keep your website easier to maintain over time. Whether you’re managing media uploads, cleaning unused files, or reorganizing project folders, Advanced File Manager gives you a faster and more convenient way to handle everyday file management tasks.

Install Advanced File Manager today and take full control of your WordPress files and folders with a simple, intuitive interface built for WordPress users.

Frequently Asked Questions

How do I move files in WordPress without FTP?

Install a file manager plugin like Advanced File Manager, which adds a dashboard-based file browser that lets you drag, cut, and paste files directly from wp-admin.

Can I rename WordPress core folders like wp-content?

Technically, yes, it’s possible, but it’s strongly discouraged unless you fully understand the downstream consequences. Renaming core folders can break references throughout your site and, in some cases, take it offline entirely.

Will renaming a file break my existing links?

Yes, in most cases. A file’s name is part of its URL, so renaming it changes that URL. Anything pointing to the old file name will need to be checked and updated, since it won’t automatically follow the new name.

How do I recover a deleted file in WordPress?

If you’re using Advanced File Manager Pro, check the built-in Trash feature first, since deleted files typically remain recoverable there for 30 days. If Trash isn’t available or the window has passed, restoring from your most recent full site backup is the next option.

How do I move files from one plugin folder to another?

Open Advanced File Manager, locate the file, select Cut, navigate to the destination plugin folder, and click Paste. If you’re modifying files inside an active plugin directory, consider deactivating the plugin first to reduce the risk of conflicts.

Can I organize files into custom folders?

Yes. You can create new folders anywhere within your file structure using the file manager’s New Folder option, then drag your existing files into them to build whatever organizational system makes sense for your site.

Can I undo moving a file?

Yes. You can move the file back to its original location if you know where it was stored. If the move caused broken links, update any references to the new file path.

Is it safe to delete unused WordPress files?

Yes, provided the files are no longer required by your themes, plugins, or website content. Before deleting anything, create a backup and verify that no pages or plugins depend on those files.

Scroll to Top