i m trying to hide the information that i m using wordpress for my blog so when users see view source code of my blog , they can easily make out by seeing the wp-include,wp-content that they have used wordpress so how can we hide or rename those folder name
i made it
define ('WP_CONTENT_DIR','/name_of_new_folder');
define('WP_CONTENT_URL','http://example.com/name_of_new_folder');
then i find where ever we have used wp-includes then replaced with includes
that time it was working but when you try to login from admin panel
its showing some error called header already sent function_panel
You should not edit core files, this will only bring troubles/bugs/headaches. Restore your system from a fresh WordPress copy.
I’m yet to see any technique that allows hiding
wp-admin
andwp-includes
, seems impossible.Anyway, carefully editing all necessary options and fine-tuning the theme allows a front-end that doesn’t show any trace of
wp-content
. It’s all outlined in this WordPress Answers post: Steps to Take to Hide the Fact a Site is Using WordPress?.Try the Better WP Security Plugin it lets you rename your content Directory Name and its free.
You can also suppress header info and generate random version numbers for wordpress and plugins.