Problems moving site to different domain name

Permalink
I have a site, healthydrybasements.com and I need to move it to a different domain, qualitydrybasements.com - on the same hosting.

I changed the config/site.php as follows:

old config:
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'dbusername');
define('DB_PASSWORD', 'dbpassword');
define('DB_DATABASE', 'dbdatabase');
define('BASE_URL', 'http://www.healthydrybasements.com');
define('DIR_REL', '');
define('PASSWORD_SALT', 'passwordsaltinfo');


new config
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'dbusername-new');
define('DB_PASSWORD', 'dbpassword-new');
define('DB_DATABASE', 'database-new');
define('BASE_URL', 'http://www.qualitydrybasements.com');
define('DIR_REL', '');
define('PASSWORD_SALT', 'passwordsaltinfo');


before moving the site, I turned off pretty urls and the cache, and cleared the cache

I copied the linux files to a new directory (that the domain points to) and all of the tables from the db for the old site to the new db I created for the new site.

The site comes up, but all of the images, etc are not in the correct place. Worse - when you click on any of the links, it brings you to an odd 404 page - not the one for c5. I also cannot log into the dashboard using qualitydrybasements.com/index.php/dashboard - I again get that weird 404 page.

I have moved sites before, so I am not sure what is going on.

Any ideas??

globalnerds
 
mhawke replied on at Permalink Reply
mhawke
Some things to consider...

It's not finding main.css. Can you confirm that your main.css file is in [root]themes/quality/main.css.

How did you move the files? Did you make a zip file and then move the zip and expand it directly on the new server or did you try to move individual files?

What's in your .htaccess ?

Make sure your cache is off in the new site.

That odd 404 page is annoying. I'd ask your host about that.
globalnerds replied on at Permalink Reply
globalnerds
I figured it out. I had removed the .htaccess file to make sure that I didn't include any commands from the move (I had other shell related commands other than the tiny urls). Once I put a blank file in the root, it worked. Why?? I have no idea!