Problem with ajax request and directory structure after site migration

Add these two lines to the bottom of your wp-config.php. Right above the line that says to stop editing.


define( 'WP_HOME' , 'http://localhost/public_html' );
define( 'WP_SITEURL' , 'http://localhost/public_html' );

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