Friday, April 15, 2016

Fixed FTP credentials for WordPress to connect to my local server

I try to update WordPress or download plugins in I am directed to a page asking for the following information:

Connection Information
To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.




Here is solution how to fix it

define('FS_METHOD','direct'); to wp-config.php

Wednesday, April 6, 2016

WordPress: Fixed the Exceeds the Maximum Upload Error

Some host set the default upload size for WordPress to 2MB which is extremely low. This can cause an error when you try to upload files that are larger than this size.  After you locate the php.ini file you just need to change two values. Search for these two parameters below and set the value to be 32M and save.

upload_max_filesize = 32M
post_max_size = 32M