| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
adrenalin85 No Credits


Offline Joined: Apr 16, 2006 Posts: 44 Location: CA
|
Posted: Wed May 17, 2006 5:50 am Post subject: Moving CMS - Question (root, subdomain, subdirectory) |
|
Hey, I had Dragonfly CPG-CMS installed on one domain, but I now want to move it to another site and it will be on a subdomain (not domain).
So (for example) it was on www.website.com and now it will be on www.anotherwebsite.com/dragonflycms .
What I have done so far is moved all the files to the new subdirectory and transfered the mysql database.
When I open the site I can see that some content is showing up like blocks and news. But I cannot see any of the images (theme images) and I cannot click on any links. All url links and image links are directed to the domain, not the subdomain, so how can I change this? I tried to go into phpmyadmin and change the path but that didnt help for some reason.
Anyway can someone who know how to do this tell me how, thanks.
adrenalin85's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) MS Server 2003 / IIS 6 / MySQL 5 / PHP 5 / CMS 9.0.6.1
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
|
| Back to top |
|
 |
adrenalin85 No Credits


Offline Joined: Apr 16, 2006 Posts: 44 Location: CA
|
Posted: Wed May 17, 2006 7:56 am Post subject: Re: Moving CMS - Question |
|
Thank you for the info! The more I learn about Dragonfly CMS the more I like it! And didnt think there is already a tutorial/informational page for this.
My bad for not searching first again.
adrenalin85's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) MS Server 2003 / IIS 6 / MySQL 5 / PHP 5 / CMS 9.0.6.1
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Wed May 17, 2006 8:15 am Post subject: Re: Moving CMS - Question |
|
Unlike other modules, the search function in Wiki has a topic on the main menu which uses Google search dragonflycms.org/Wiki/id=82.html
As it happens your need was covered in the main "Install" topic, sub-topic "Changing Installation Locations"
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
adrenalin85 No Credits


Offline Joined: Apr 16, 2006 Posts: 44 Location: CA
|
Posted: Wed May 17, 2006 8:21 am Post subject: Re: Moving CMS - Question |
|
Hmm, "Changing Installation Locations", but if I already have the cms installed and I make the changes it should still work right?
Also, why is there another section "Changing a Sub-directory to a Sub-domain"? If the subdomain is directed to that subdirectory already then what is the point for the change?
adrenalin85's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) MS Server 2003 / IIS 6 / MySQL 5 / PHP 5 / CMS 9.0.6.1
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Wed May 17, 2006 8:25 am Post subject: Re: Moving CMS - Question |
|
1. precisely why the topic is there.
2. because some people either fail to create their sub-domain first, or they install from the sub-directory instead of the sub-domain - the difference is the how the cookies get generated. Another reason is that people are now starting to realize that Google virtually treats a sub-domain as a separate domain, hence giving them more value for their initial domain.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
Royal05Steve Nice poster


Offline Joined: Jul 21, 2006 Posts: 64 Location: USA
|
Posted: Sat Aug 19, 2006 1:10 pm Post subject: Moving my site from under Dragonfly folder to public_html |
|
I currently have my site constructed under a dragonfly sub directory and I would like to move it under the public_html so I do not need dragonfly in my url. What needs to be moved to public_html to make this happen? What config changes need to be done?
Royal05Steve's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 4.11-STABLE FreeBSD /Apache 2.0/MySQL - 4.0.27/PHP Version 5.1.4/Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
SaintPeter Heavy poster


Offline Joined: Apr 13, 2005 Posts: 162 Location: Roseville, CA
|
Posted: Sat Aug 19, 2006 4:43 pm Post subject: Re: Moving my site from under Dragonfly folder to public_html |
|
| Royal05Steve wrote: |
| What needs to be moved to public_html to make this happen? What config changes need to be done? |
You need to move the contents of the dragonfly directrory - all the files. If you have shell access, I think this command will work:
mv -r dragonfly/* .
If done from your public_html directory.
There is only one configuration change you will need to make dragonfly work. You will need to edit your database.
In the table (prefix)_custom_config, there is a value:
server -> path
change the value to /
That should do it for the most part. Some modules may have had you entering path info, but you should be able to change those once you
SaintPeter's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.9/Apache 1.3.36/MySQL 4.1.18/PHP 5.1.4/CPG Nuke 9.1.0.8 (Modified)
|
|
| Back to top |
|
 |
Havik Newbie


Offline Joined: Aug 19, 2006 Posts: 12 Location: Australia
|
Posted: Sat Aug 19, 2006 4:51 pm Post subject: Re: Moving my site from under Dragonfly folder to public_htm |
|
easy way to move files from one folder to another is in cpanel.. it does it instantly, bad thing is it only does one file at a time  and i dunno about the config changes
Havik's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 9x
|
|
| Back to top |
|
 |
alva 1000+ Posts Club


Offline Joined: May 31, 2005 Posts: 1150 Location: The Netherlands
|
Posted: Sat Aug 19, 2006 7:06 pm Post subject: Re: Moving my site from under Dragonfly folder to public_htm |
|
| SaintPeter wrote: |
There is only one configuration change you will need to make dragonfly work. You will need to edit your database.
In the table (prefix)_custom_config, there is a value:
server -> path
change the value to /
That should do it for the most part. |
Cookie path, server path and cache files are important things, too
Wiki ⇒ Install ⇒ Changing Installation Locations
Royal05Steve, there's a problem with you're WWW-button link. Would you please change it to your working Dragonfly site? Thanks on behalf of the Forum Admins.
alva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/5.0.24/5/9.1 CVS
|
|
| Back to top |
|
 |
alva 1000+ Posts Club


Offline Joined: May 31, 2005 Posts: 1150 Location: The Netherlands
|
Posted: Sat Aug 19, 2006 7:20 pm Post subject: Re: Moving my site from under Dragonfly folder to public_htm |
|
Moved to FAQ, because it's in the Documentation Wiki.
alva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/5.0.24/5/9.1 CVS
|
|
| Back to top |
|
 |
Royal05Steve Nice poster


Offline Joined: Jul 21, 2006 Posts: 64 Location: USA
|
Posted: Sat Aug 19, 2006 7:57 pm Post subject: Re: Moving my site from under Dragonfly folder to public_htm |
|
| alva wrote: |
| SaintPeter wrote: |
There is only one configuration change you will need to make dragonfly work. You will need to edit your database.
In the table (prefix)_custom_config, there is a value:
server -> path
change the value to /
That should do it for the most part. |
Cookie path, server path and cache files are important things, too
Wiki ⇒ Install ⇒ Changing Installation Locations
Royal05Steve, there's a problem with you're WWW-button link. Would you please change it to your working Dragonfly site? Thanks on behalf of the Forum Admins. |
My link will be correct once I move my domain  Thanks
Royal05Steve's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 4.11-STABLE FreeBSD /Apache 2.0/MySQL - 4.0.27/PHP Version 5.1.4/Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
dormouse Newbie


Offline Joined: Aug 31, 2005 Posts: 37
|
Posted: Mon Aug 28, 2006 2:32 am Post subject: Sub-directory |
|
I'm having to move one of my sites from one domain and server to a sub-directory on another server.
I've got part way along with this, but every time I click on a link I get an error. This is because the link seems to go automatically to the tld rather than the sub-directory. Where do I change the linking from the tld to the sub-directory?
I am assuming that the problems with appearance, downloads etc is because of the same problem or will otherwise be sorted once I check through the file system.
This problem also means that I can't login to Admin because the url reverts to the tld once I put my name/pw in.
dormouse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.39/4.1.22/4.4.7/9.2.0
|
|
| Back to top |
|
 |
Dizfunkshunal Platinum Supporter


Offline Joined: Mar 23, 2006 Posts: 2064
|
Posted: Mon Aug 28, 2006 3:24 am Post subject: Re: Sub-directory |
|
check the wiki and search forums I have seen this answered befor i just cant find the post try some of these:
www.cpgnuke.com/Forums...sults.html
www.cpgnuke.com/Forums...sults.html
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
|
| Back to top |
|
 |
|
|