Wiki ⇒ Upgrading or Switching ⇒ Change Location ⇒ CPG Dragonfly™ CMS
WikiUpgrading or Switching ⇒ Change Location

4. 7: Change Location Parent


Changing from Root to a Sub-directory

  • admin.php?op=settings
    1. Site Domain: site.com
    2. Site Path: /folder/
  • admin.php?op=settings&s=2
    1. Cookie domain: site.com
    2. Cookie Path: /folder/
    3. Admin cookie name
    4. Member cookie name
Failing that, you must change those settings manually using your favorite SQL browser/editor.
Connect to your database, browse to and open cms_config_custom.

Modify the following setting:
server:domain - site.com
server:path - /folder/
cookie:domain - site.com
cookie:path - /folder/

Clear your website "cache" folder.


Changing a Sub-directory to a Sub-domain

admin.php?op=settings
Site Domain: sub.site.com
Site Path: /

admin.php?op=settings&s=2
Cookie domain: sub.site.com
Cookie Path: /
Admin cookie name
Member cookie name

Failing that, change it in phpmyadmin, table cms_config_custom
server:domain - sub.site.com
server:path - /
cookie:domain - sub.site.com
cookie:path - /

Clear your website "cache" folder.


Changing Servers/Hosts

  • 1. Make a copy of all your files in there current structure.
  • 2. Make a copy of you database.
  • 3. Upload you files to the new hosting server. make sure to keep everything in the correct file structure.
  • 4. Create your new database and import the copy of your database you made a copy of in step 2.
  • 5. In phpmyadmin
    1. a. find the table cms_config_custom
    2. b. change the following:
      • server:domain - site.com
      • server:path - /
      • cookie:domain - site.com
      • cookie:path - /
  • 6. Clear your website "cache" folder.
  • 7. Everything should work perfectly.

Created: Friday, September 16, 2005 (03:14:09) by tuta
Updated: Sunday, April 27, 2014 (09:14:40) by NanoCaiordo