Monday 13 June 2016

How to Disable auto update, Solve memory limit Error in Wordpress? IT NEW CODE

IT NEW CODE provides an easy code to an common server problem memory exhaust in wordpress.
This errors comes due to less memory limit assign by server.
We need to increase it to solve memory exhaust problem.

Simple, Add following code in "wp-config.php" file.

To solve memory limit Error:-
define('WP_MEMORY_LIMIT', '512M');


Some times auto update plugin cause problems like compatibility issues & other conflicts issues after update.
To avoid it if no need to change anything in website then applied auto update disable to disable all automatic updates.

Simple, Add following code in "wp-config.php" file.

To disable automatic update:-
define( 'AUTOMATIC_UPDATER_DISABLED', true );



You can add more code in "wp-config.php" file for different purpose

Optimize wordpress trash clear:-
define ('EMPTY_TRASH_DAYS', 7);


Optimize wordpress reduce Revisions:-
define( 'WP_POST_REVISIONS', 3 );


Optimize wordpress reduce Revisions close:-
define( 'WP_POST_REVISIONS', false );



For more Interesting, Useful Article & codes visit IT New Code.
IT NEW CODE always help you with new Developing Code.

Ankit Shah PHP Expert

IT New Code suggest a solution for your problem related to coding, Specially .PHP, Wordpress, WooCommerce, Magento, HTML and CSS. Visit Our website for Information.

2 comments:

  1. This Web site Not Devloped What I do....... Usedfull Website

    ReplyDelete
    Replies
    1. This site always provide best solutions. Thanks to IT new code.

      Delete

 

Copyright @ 2016 IT New Code | Developing Code | Designing Code.

Designed by: Ankit Shah