Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ CMS (All) ⇒ FAQ (Frequently Answered Questions) :: Archives ⇒ Moving CMS - Question (root, subdomain, subdirectory) :: Archived


Moving CMS - Question (root, subdomain, subdirectory) :: Archived
Posts are moved here if they have been answered many times before in the forums, or if they exist in our FAQ or documentation. Posts in this forum may be deleted after 90 days.
Go to page 1, 2  Next
Topic Archived View previous topic :: View next topic  
Author Message
adrenalin85
No Credits
No Credits

Offline Offline
Joined: Apr 16, 2006
Posts: 44
Location: CA
PostPosted: 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
View user's profile
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Wed May 17, 2006 7:52 am
Post subject: Re: Moving CMS - Question

hmm, so many under-searched resources on this site.

dragonflycms.org/Wiki/id=79.html

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
adrenalin85
No Credits
No Credits

Offline Offline
Joined: Apr 16, 2006
Posts: 44
Location: CA
PostPosted: 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. Smile

My bad for not searching first again. Smile


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
View user's profile
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
adrenalin85
No Credits
No Credits

Offline Offline
Joined: Apr 16, 2006
Posts: 44
Location: CA
PostPosted: 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
View user's profile
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
Royal05Steve
Nice poster
Nice poster

Offline Offline
Joined: Jul 21, 2006
Posts: 64
Location: USA
PostPosted: 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
View user's profile Visit poster's website
SaintPeter
Heavy poster
Heavy poster

Offline Offline
Joined: Apr 13, 2005
Posts: 162
Location: Roseville, CA
PostPosted: 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
View user's profile Visit poster's website
Havik
Newbie
Newbie

Offline Offline
Joined: Aug 19, 2006
Posts: 12
Location: Australia
PostPosted: 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 Sad and i dunno about the config changes


Havik's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
9x
Back to top
View user's profile Visit poster's website Yahoo Messenger
alva
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: May 31, 2005
Posts: 1150
Location: The Netherlands
PostPosted: 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 Wink

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
View user's profile Visit poster's website
alva
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: May 31, 2005
Posts: 1150
Location: The Netherlands
PostPosted: 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
View user's profile Visit poster's website
Royal05Steve
Nice poster
Nice poster

Offline Offline
Joined: Jul 21, 2006
Posts: 64
Location: USA
PostPosted: 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 Wink

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 Smile 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
View user's profile Visit poster's website
dormouse
Newbie
Newbie

Offline Offline
Joined: Aug 31, 2005
Posts: 37

PostPosted: 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
View user's profile Visit poster's website
Dizfunkshunal
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Mar 23, 2006
Posts: 2064

PostPosted: 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
View user's profile Send e-mail Visit poster's website Yahoo Messenger
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Mon Aug 28, 2006 6:10 am
Post subject: Re: Sub-directory

It's covered in both Wiki and FAQ under Documentation in the main menu to the left..

dragonflycms.org/FAQ/cat=9.html#74

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  FAQ (Frequently Answered Questions)
Page 1 of 2
All times are GMT
Go to page 1, 2  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

lexo me teper

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy