₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,345,033 members, 8,515,091 topics. Date: Sunday, 08 November 2026 at 04:03 AM

Toggle theme

Wordpress Security Class - Webmasters - Nairaland

Nairaland Forum › Science/Technology › Webmasters › Wordpress Security Class (405 Views)

1 Reply

Wordpress Security Class by Nobody: 8:31pm On Dec 16, 2015
Renaming your wp-content folder
1. After changing this folder people will no longer know that you using wordpress.
2. Your theme and plugins will no longer be found on http://whatwpthemeisthat.com/
3, There will be no need to use plugins like hide my ip

Steps

1. Rename your wp-content folder on cpanel to maybe files
2. Copy this code

define ('WP_CONTENT_FOLDERNAME', 'files'); 
define ('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME) ;

define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/');
define('WP_CONTENT_URL', WP_SITEURL . WP_CONTENT_FOLDERNAME);


3. open wp-config.php file
4. Paste the code above this
/** Sets up WordPress vars and included files. */

to have


define ('WP_CONTENT_FOLDERNAME', 'files');
define ('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME) ;

define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/');
define('WP_CONTENT_URL', WP_SITEURL . WP_CONTENT_FOLDERNAME);

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');

5. save



brought to you by www.cobuh.com
Re: Wordpress Security Class by Nobody: 8:58pm On Dec 16, 2015
Hiding the wp-admin url

Prevent people from logging into your admin via www.yourwebsite.com/wp-admin
install this plugin and configure it Lockdown WP Admin
1 Reply

4 Best Wordpress Security Plugins For Wordpress Users In 2017 • Top 10 Advanced Wordpress Security Best Practices Tips • Managing Wordpress Security Plugin Vulnerabilities - A Simple Guide • 2 • 3 • 4

U.S Adsense Accounts For Sale • Window 8 Tricks To Be Enjoy • We Need Web Developer Urgently