After moving wordpress some files still point to old directory

Did you follow these docs?: http://codex.wordpress.org/Moving_WordPress You can leave all your files in /wordpress/ and simply make WordPress appear to be in root. See http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install If /html/website is really web root, you don’t use that string in any configurations, you use mydomain.com.

wp core install database connection error

First ensure the normal browser install works. If not, here’s a really good article on that: How to Fix the Error Establishing a Database Connection in WordPress. Next thing to note is that your database may not be hosted on localhost. Then try to create the wp-config.php using 127.0.0.1 or 127.0.0.1:8889 (for MAMP for example) … Read more

register_activation_hook and updating

register_activation_hook() is only called when the user activates the plugin. It is not called after a plugin upgrade. The preferred method of handling upgrades is using register_activation_hook() to store the current version in the wp_options table and then checking it on each admin page load.

Permalink Issues by Installing WordPress in Subdirectory / Subfolder

What I generally do Install WP in sub directory. Open permalink set required permalink. Open settings->general link Remove the sub directory name from ‘Site Address (URL)’ Cut the index.php and .htaccess files from sub directory and paste them to root change code in index.php as you did. Again access settings->permalink save the form Done. You … Read more

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