3.7: Changing Installation Locations  Changing from Root to a Sub-directory
admin.php?op=settings
Site Domain: site.com
Site Path: /folder/
admin.php?op=settings&s=2
Cookie domain: site.com
Cookie Path: /folder/
Admin cookie name
Member cookie name
Failing that, change it in phpmyadmin, table cms_config_custom
server:domain - site.com
server:path - /folder/
cookie:domain - site.com
cookie:path - /folder/
You may also need to 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 - /
You may also need to 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
a. find the table cms_config_custom
b. change the following:
server:domain - site.com
server:path - /
cookie:domain - site.com
cookie:path - /
6. Everything should work perfectly.
You may also need to clear your website "cache" folder.
|