Incorrect Blog Root

The old versions of the home and site url are likely in the database somewhere. Add two lines to your config.php file to override them as needed: define(‘WP_HOME’, ‘http://example.com’); define(‘WP_SITEURL’, ‘http://example.com’); If you visit Settings / General and save the settings, they should get stored to their new value in the database. You should then … Read more

WordPress Installation

First thing that comes to mind, is that you haven’t set up an actual database to link the wordpress to so please follow this steps: navigate in your browser to http://localhost/phpmyadmin (I hope it is installed) Create a database with the name wordpress (or whatever else you want) Navigate to your wordpress directory on localhost … Read more

New WP installation due to language issues

There isn’t really a Swedish version of WordPress although they do provide a convenient package that has the language files already loaded. The only differences from the core (English) distribution are the folder wp-content/languages, the variable $wp_local_package=”sv_SE”; set in wp-includes/version.php, the localized readme.html file and the wp-config-sample.php file. So yes, you should be safe uploading … Read more

Moving site made easier

For the specific settings you are asking about you can hardcode the values into your wp-config.php file(s): define(‘WP_HOME’,’http://example.com’); define(‘WP_SITEURL’,’http://example.com’); These values will be used and database values will be ignored and not editable in settings. Note that there are plenty more places that might store URLs, such as images in content and so on. There … Read more