WordPress still requires FTP information

Guess it needs to be said first – it is a bad idea in general to just let anyone that succeeded to trick you into uploading his PHP onto your server to actually be able to write to your code directories. It is double problematic if you let him access to your root credentials and … Read more

Images not showing and plugins not installing on wordpress server move

First thing I would do: In your wp-config.php file, hardcode your new site URL by entering define(‘WP_SITEURL’, ‘http://www.example.com’); define(‘WP_HOME’, ‘http://www.example.com’); After that, have a look at the source code of your pages including images, and verify how the URLs of the the images look like. If they are wrong (relative to localhost?), you may have … Read more

How to throw the “We need ftp info” at a user

simple function: protected function _cred_check(){ $aisis_file_system_structure = WP_Filesystem(); if($aisis_file_system_structure == false){ echo ‘<div class=”alert”><strog>NOTE!</strong> We need your ftp creds before we continue!</div>’; return true; } return false; } then do: if($this->_cred_check()){ request_filesystem_credentials(‘your/link/to/your/update/page’); }else{ // your update stuff }

Uploading a external squeeze page within WP

The first thing you need to do when you want to install a new WordPress theme is to login to your site admin page. Once there, go to Appearance -> Themes. Here, you will see all the themes you have currently installed in your application. To add another one, simply click on the add new … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)