Enter your keyword

Blog

How to Rename WP-Content Folder in WordPress

Open your wp-config.php file and add the following constant:

define ('WP_CONTENT_DATA', 'data');  

define ('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_DATA) ; 

define ('WP_CONTENT_URL', site_url().WP_CONTENT_DATA);
  
define ('WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins');
   
define ('WP_PLUGIN_URL', WP_CONTENT_URL.'/plugins');

No Comments

Add your review

Your email address will not be published.

* Feilds are Required.