Understanding how links will work when DNS changed to point to new WordPress site

Old question, but for the record: Provided that you adjust the WP_HOME and WP_SITE urls appropriately, the page links should work just fine when you migrate. An easy way is to add the following lines to your wp-config.php file after uploading the site to therealwebsitename.co.uk: define(‘WP_HOME’,’http://example.com’); define(‘WP_SITEURL’,’http://example.com’); You’ll then be able to then login to … Read more

wordpress domain setup with ec2 apache

All the links in a wordpress database are relational, and based on the URL structure that was used when the database was created. What you need to do is follow the steps to change the URL of the WordPress instance and that should resolve your problem. This is common when changing from a dev platform … Read more

DNS – Change WordPress Site Name?

You need to update all the places in the database that are using the original location. you can use the following tool to do so. There are others but I have found this one to be easy. Just remember to remove the files after you are done with it. I would run this in it’s … Read more

Developing on localhost remove “index.php”

What you have locally is called PATHINFO permalinks. It is quite rare configuration since permalinks are either “pretty” (what you have live) or “ugly” (no rewrite at all, GET requests). It is hard to guess why you ended up with PATHINFO configuration if you haven’t deliberately configured it. Might you have used some tool to … Read more

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