Move site up from sub directory to root directory (5.7)

Permalink
I have read older discussions about moving a site up a directory (I.e. my site.com/test to mysite.com), but is there any current info on this for version 5.7? Specifically, my exported SQL file has lots of absolute references to the test url -- do I need to manually change these to relative references or to new absolute references to the new urls, or better yet, is this something concrete5 can do automatically? From older discussions, it seems the advice was to alter the baseURL in config/site.php, but it appears this file no longer exists, or at least not by that path in this version.

Any help would be greatly appreciated!

 
Gondwana replied on at Permalink Reply
Gondwana
I just treat such cases as equivalent to moving the site from one host to another. That's probably unduly conservative, but it's always worked.
ctadmin replied on at Permalink Reply
I've done this several times, it's very easy.

Just disable pretty urls, clear the cache, move all files up a level and you're done.

bh
aliduck replied on at Permalink Reply
Thank you both for your replies. It turns out, after downloading the db again, the urls were not absolute after all, but rather relative links. However, after disabling pretty urls, clearing cache and migrating site up one level to the root directory, nothing appeared. We discovered an issue with a php.ini file on my server that had "magic quotes" turned on, and after it was turned off, the site appeared!