WP installed is asking to install if typed domain.com

Adding this lines to .htacces solved the redirect problem to wp-admin/install.php if typed the domain.com without the www even if the WP was completely installed and settings configured properly. RewriteCond %{HTTP_HOST} ^www.domain.com/rus [NC] RewriteRule ^$ /index.php [NC,L] Now I can continue with rusian translation. The main problem was a defective plugin, which was blocking the … Read more

Can figure out how to get wordpress to go .com not .com/directory

try Install WordPress in a subdirectory, such as /2012. In your root folder (not the subdirectory folder), download and open your .htaccess file. Add the following to your .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?YourDomain.com$ RewriteRule ^(/)?$ blog [L] In the above code, change the “YourDomain.com” value to your root domain. In the above code, … Read more

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

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