Moved to new domain on same server. DB in old location

rastaX

Member
I just moved my site to a new domain on the same server but my host didn't move the db. Config.php still points to the old db and the site displays ok. Do I still need to move the db or is this ok?
 

Brogan

XenForo moderator
Staff member
As I responded to your ticket, if the domain is on the same server (and the site is working) then the database doesn't need to be moved.
 

rastaX

Member
Thanks. Kinda feels like an "If it ain't broke, don't fix it" situation. Everything works, yea.
 
I'm in somewhat the same situation, and when I enabled "Use full friendly URLs" for SEO, I began to get an error. Is this a database issue?
 

Brogan

XenForo moderator
Staff member
What is the error?

If the files were moved, ensure any hidden dot files, especially .htaccess, were also moved.
 
It's a 404 error. We copied all the files to the new domain, and they're all still on the same server. Everything is still pointing to the database on the old domain, though. I'm sorry if I'm explaining the situation poorly. This is the first time I've ever dealt with something like this.
 
Top