Customize

From wiki.linuxonlinehelp.eu
Revision as of 23:17, 19 May 2017 by Author (talk | contribs)
Jump to navigation Jump to search

Wordpress Customize

Security Info

  • Reduce the Count of installed and used Wordpress Plugins, LESS is MORE!
  • Do never use PHP Upload Plugins like "Gallery" cause most of them are scanned by Hackers to Access the File Systems of the Webserver !!!
  • Check Folder Rights like Images where Uploads are stored!
  • Use a minimum of Plugins to redesign and relocate internal Links! Cause Search Bots don't know how to read!
  • A Basic Setup is FAST and CLEAN READABLE by Bots Scripts and ranked up by Speed (I/O)!

Date Remove on Posts

to remove date of posts edit functions.php

function theme_remove_post_dates() {
    add_filter('the_date', '__return_false');
    add_filter('the_time', '__return_false');
    add_filter('the_modified_date', '__return_false');
} add_action('loop_start', 'theme_remove_post_dates');

Hardening Wordpress

Force SSL Logins to Login Pages add to wp-config.php

define('FORCE_SSL_ADMIN', true);

Delete trash after 30 days

Add to wp-config.php

define('EMPTY_TRASH_DAYS', 30);

Disable Wordpress Cron

Add to wp-config.php

define('DISABLE_WP_CRON', true);

Reduce Revsions History

Add to wp-config.php

define('WP_POST_REVISIONS', 3);

Auto Save Intervall on Edit

Auto Save every 2 Minutes

define('AUTOSAVE_INTERVAL', 120);

Disable Auto Wordpress Updates

Must be done cause it can destroy your Blog!

define( 'WP_AUTO_UPDATE_CORE', false );