There are times when you will want to replace an old file with a new file, particularly PDFs of handbooks, tuition schedules and forms. It's easy to replace a file in WordPress to keep our media gallery tidy and devoid of multiple copies of the same documents.

You must replace an existing file with a file of the same type.

For example, you can replace an existing .pdf file with an updated .pdf file. You cannot replace an existing .pdf file with a .doc file.

Steps to Replace a File


  1. Login to the your Campbell University website's Dashboard (same URL you use to edit your web pages).
  2. Click the Media > Library. You will see all of the media gallery files.

  3. Search for the file(s) you would like to replace by using the search field or selecting a related category.

    Example below shows search results for "handbook" search term

  4. Once you find the desired file, click the thumbnail image of the file. An "Attachment Details" window will open.

  5. Scroll down the window until you see "Replace Media", and click the "Upload a new file" button.

  6. Click "Choose File" to upload the new file from your computer.

  7. Next select the radio button to:
    • Replace the file, use new file name, and update all links. (preferred method)
      If you check this option, the name and type of the file you are about to upload will replace the old file. All links pointing to the current file (current file name will be here) will be updated to point to the new file name.
  8. Click the "Upload" button. The Edit Media view will appear. 

  9. Be sure to check any categories that relate to the file, then click the "Update" button.

  10. The file has been updated to the newest version, and should update wherever the original file was hyperlinked on the website.

Most of the links should be updated; however, some buttons may not update. Now's a good time to check them.