How do I move an installation from a subfolder to the root?
PermalinkNow, they've changed their minds and want the install at the root level. Is there an easy way to accomplish this without having to do a new install and export/import the database?
move all of the files from the directory /site2012 to / and then go into
/confg and edit site.php
you will need to change the following:
define('DIR_REL', '/site2012');
to
define('DIR_REL', '');
Note that the slash is gone as well and it just leaves two single quotes (not one double quote) without a space.
Always a good idea to back up before you do anything.
You will not need to change anything within your database.
If you have any questions, PM me.
After you move the files, be sure to update the site location in the Dashboard (from techwerks.tv/site2012 to techwerks.tv).