The easiest way to enable any File type Uploads in WordPress/Divi.

Aug 26, 2019 | Divi Tips, WordPress Tutorial | 0 comments

Samar Jamil

Hi guys.

In this tutorial, I am going to show you how you can enable Uploads of any kind of File Type (SVG, RAR and more…)or any other uploads that aren’t allowed by WordPress. Today we’re going to give the WordPress a command to enable other uploads easily with just one line of code.

So let’s get started with today’s tutorial. First of all, you’ll have to connect to your website files for that we’re going to use the File Manager plugin to access our WordPress files.

When you have access to your WordPress files you have to edit the wp-config.php file.

Right-click on wp-config.php and then click on Code editor.

Now go all the way down and paste this line of code there.


Now try to upload any file which is not allowed by WordPress and let me know in the comments if it helps you.

Thanks for coming…

NoteRemove the code after uploading your file because of Secuirty Reasons.

Written by : Samar Jamil


Get Freebies and new blog post notification straight in your inbox!


Submit a Comment

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.

Pin It on Pinterest

Share This