URLs unchanged after migration

The previous developer had hard coded update_option(‘siteurl’,’http://example.com’); update_option(‘home’,’http://example.com’); in functions.php which on being removed resolved the issue. Thanks everyone for churning in your suggestions.

Migrate php folder to WordPress

I assume that each php file contains the content of a page. It depends a lot on how your content is written in that php page, you should make another php script, go trough all files in that directory. <?php if ($handle = opendir(‘/path/to/files’)) { echo “Directory handle: $handle\n”; echo “Entries:\n”; /* This is the … Read more

Migrating WordPress site from subdirectory to subdomain

There is a very specific process to moving a WordPress site. You need to move the files and folders and change the rewrite block in .htaccess. But you also need to change URLs in the database. See Moving WordPress « WordPress Codex and WordPress Serialized PHP Search Replace Tool.

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