Is there a simple way to move my G2 site from a subdirectory on my website to the main directory? If I just move the files will it cause the database to freak out?
I installed G2 under [url]www.markafoster.com/g2[/url] and I have G1 under [url]www.markafoster.com[/url]. I want to delete G1 and move G2 to my main website.
Currently I am redirecting traffic to my main site to my subdirectory.
Posts: 32509
i assume you have beta 2
1. deactivate the url rewrite module (and short urls if you run beta 1)
2. move * in g2 to ../. (just move the contents of the g2 folder 1 directory above)
3. edit config.php:
- if your g2data dir was within the g2 directory, you have to edit the corresponding config value in config.php
- edit the galleryId at the end of the file, remove the "g2" part
- save config.php
4. finito (you may now uninstall/install/activate the url rewrite module again)
Posts: 12
i have the same problem......
my gallery should be changed from
http://gallery.z1000ev.de/gallery3
to
http://gallery.z1000ev.de/
but what is with the databank????? and tie htaccess data???
Posts: 32509
VampireDeluxe, follow my steps and you're done.
the database doesn't need any change when you move the gallery from one folder to another.
Posts: 12
thanks a lot
it works.....
http://gallery.z1000ev.de/main.php
THX
Posts: 118
Vampire, I tried going to your site and it shows an error page. Did it really work for you? I have been meaning to try it out but have not had time.
Posts: 32509
mfoster711, has another problem now. moving g2 works.
i've added the instructions to the FAQ.