Hi Phil
I did upload the wordpress blog to each domain using FTP.
So to confirm I initially uploaded blog 1 to domain 1 and installed it ok , I a;sp managed to get it to work OK and get the name to also read
www.domain1.com/blog For the 2nd domain , I uploaded a 2nd wordpress blog set of files using FTP and I did add and create a new data base in Mysql and I made changes within the wp.config/php file so that both the username and password of the new 2nd domain data base details of the new wordpress blog would be recognised by the domain 2 name.
I also had added each users to each data base..
so for domain1 and blog 1 that user 1 was set to database 1 ..... and for domain 2 and blog 2 ...user 2 was set to database 2
As I say then I added relevant details to each wp.config.php files
So as far as I am aware there should not be any confusion between both domain 1 and blog 1 and the domain 2 and blog 2 files.
heres the top part of blog 1s wp.config.php file for domain 1 (I changed some details but the layout shows what I did and how the details are different)
<?php
// ** MySQL settings ** //
define('DB_NAME', 'domain1_blog'); // The name of the database
define('DB_USER', 'domain1_dowsp'); // Your MySQL username
define('DB_PASSWORD', 'xxxxxx'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
heres the same details for blog 2 domain 2 wp. config.php file
<?php
// ** MySQL settings ** //
define('DB_NAME', 'domain2_smsblog'); // The name of the database
define('DB_USER', 'domain2_sms'); // Your MySQL username
define('DB_PASSWORD', 'xxxxxx'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
As far as I am aware there shouldnt be any configuration problem.
I was thinking maybe the .htaacess file may have needed ammeding when you mentioned it !
Maybe it is something else that I have failed to do correctly.
Cheers Dowsp
The .htaccess segment you sent is the "hotlink protection". It prevents other pages and sites from "borrowing" your images (serving them from your site). It has nothing to do with redirection or the blog.
By any chance did you copy over an existing WordPress installation (domain1.com) to your new blog (domain2.com), rather than a fresh install? Maybe you neglected to update some configuration file that uses domain1.com somewhere.