Hi all
I was going to share some web space with a friend who had bought too much space just for himself. I setup gallery2 and gave my friend the main web address and myself a sub domain, I installed the main core gallery2 under his folder and gave myself the multisite install.
My friend has decided to go travel the world and gave me his web space so I would like the main domain address for my gallery install rather than a sub domain and need to move my photo's out of the multisite install and into the core gallery area.
Is this Possible, and how would I go about this.
Thanks
----
Gallery URL (optional):
Gallery version:
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):
Posts: 8601
should just be a matter of moving config.php from the multisite install into the main gallery2 dir, then edit the bottom of that config.php and change galleryBaseUrl from whatever value it has to '' (empty string).
Posts: 53
Hi, I never got around to moving my site, but am ready to give it a go now.
Just a quick question. when I created the sub album my photos went into a folder in the subdomain section. What do I need to to to get them in the main site section, can I just copy and paste them?
Basically I want my site to be as though I never had the subdomain.
Thanks
Posts: 8601
http://codex.gallery2.org/index.php/Gallery2:Multisite
Posts: 53
Yep thats handy for setting up a multisite, but I need to remove the multisite parts so I am left with a single site.
also what do i do with the sql data. At the moment I have 2 databases?
Would it be better to delete the site and re-install it from backup but only use the bits I need. If so which bits?
Please I really need a step by step approach to the answer.
Posts: 8601
do you want to replace the current codebase install with the one that is currently multisite?
1) run the installer; at the install type step, choose "standard install".. keep the existing settings and proceed up to the database setup step.. click save here, then pick "erase data for a clean install" and confirm. this will DELETE the install currently on your main site. don't proceed any further in the installer, just close the window.
2) replace the config.php in your gallery2 directory with the config.php from your multisite install. edit it and change galleryBaseUrl to '' as I described above.
at this point, it should work.
if you want to move the location of the g2data directory you can move it on the filesystem, then enter the updated path in config.php