Free Shipping on orders over US$69.99 Make money with us

How to rename wp-content folder in wp-config.php from cpanel

The “wp-content” folder in WordPress houses all of your themes, plugins, and uploaded photos. In fact, anyone can easily tell you are using WordPress because the folder name “wp-content” appears in the URLs of photos, stylesheets, etc. You can easily rename the folder if you believe the default name is confusing or if you want to change it to something more fitting for your preferences.

This is the procedure, Copy and paste this and replace it with your website details.

define( ‘WP_CONTENT_DIR’, ‘/home/yourdirname/public_html/foldernewname’ ); // Do not remove
define( ‘WP_CONTENT_URL’, ‘https://yourwebsite/foldernewname’ ); // Do not remove

/**

* The base configuration for WordPress

Go into your cpanel public_html and rename wp-content to the new name.

Happy Blogging

 

We will be happy to hear your thoughts

Leave a reply

Right Way To Do It
Logo
Shopping cart