Home » Wordpress » How to WordPress Move Wp-Content Folder To Different Location

Move the wordpress wp-content is for wordpress security if you move this to an unexpected location any hackers looking to target this area won’t be able to find it, or it will make it more difficult to find.

To change the location of the wp-content is quite simple as the location of this folder can be configured in your wp-config.php file.

All you have to do is add a new variable WP_CONTENT_DIR and change the location of your wp-content folder.

define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/blog/YourNewDirectory/wp-content' );

To change the location of the wp-content URL there is another variable you can define in the wp-config.

define( 'WP_CONTENT_URL', 'http://www.santoshkori.com/blog/content/wp-content' );

Incoming search terms:

Leave a comment

0 Comments.

Leave a Reply


[ Ctrl + Enter ]

*

Wordpress Freelancer, Joomla Freelancer Web designer Mumbai india, Wordpress web developer India, Joomla Web developer india, Outsourcing web project india mumbai

By Santosh Kori Published: October 10, 2012 Professional Freelance Website developer 5 stars based on 65 reviews Total time: 24 hour 00 min Wordpress Joomla XHTML CSS jQuery HTML5 eCommerce CSS3 ☞ Offers low cost freelance web designing, asp php asp.net web development services from Mumbai India. Freelance web designer & developer Mumbai India.

I AM NOT AVAILABLE FOR WEB DESIGN & DEVELOPMENT PROJECTS