A General Starting Set Up Of WordPress Environment to be safe for rime being.


GO: /cPanel> File Manager > public_html > your site folder(optional) > wp-config.php > edit:
>> copy paste  this 11 line at the bottom of wp-config.php >> (MUST before wp-settings.php inclution)


define('WP_DEBUG', false); 
define('WP_HTTP_BLOCK_EXTERNAL', false);
define('FS_METHOD', 'direct');
define('DISABLE_WP_CRON', true); 
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_CACHE', true );
define('WP_ALLOW_REPAIR', true);
require_once(ABSPATH . 'wp-settings.php');
add_filter( 'auto_update_plugin', '__return_false' ); 
add_filter( 'auto_update_theme', '__return_false' ); 
define( 'WP_AUTO_UPDATE_CORE', minor );
FINALLY SAVE AND CONTINUE 
if still upload file size issue > edit .htaccess > add >>   php_value upload_max_filesize 256M

When you strat  wordpress project  before use the code so you donot face any problem.

if you need an attractive professional pixel perfect  website blog  product or business promote landing page just click here

No comments

Powered by Blogger.