How do you make Gallery your home page
Mark1958
Joined: 2008-01-06
Posts: 2 |
Posted: Sun, 2008-01-06 22:00 |
I'd like to make Gallery my home page, without the /Gallery in the url. My www.mysite.com (home page) and www.mysite.com/Gallery work fine independently, but I can't figure out how to make Gallery the home page. I have seen a lot of documents on this, but as a novice, I can't figure it out. Any step by step "Gallery for dummies" help would be greatly appreciated. Gallery version = 2.2.3 core 1.2.0.5 |
|
Posts: 27300
FAQ: How can I move my gallery installation from one folder to another?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 2
Dave-
Thanks for the fast reply, but I'm still at a loss. I copied the text from link you gave me below. I can't locate the "url rewrite module" noted in step one. When I go to site admin there are plenty of categories, but the path site admin->Modules is not listed.
[edit] How can I move my gallery installation from one folder to another?
Here's a step by step guide:
Deactivate and uninstall the url rewrite module if it's active (not just disable the rewrite rules, disable and uninstall the whole module in site admin -> modules).
Move the gallery folder (move/rename it with an ftp application, a file browser or with a shell). If you choose to move gallery from a subdirectory to the root of your website, just move all files and directories that are in the gallery folder to the web root directory.
Edit config.php manually. If the g2data was within the gallery directory and you moved it, update the line:
$gallery->setConfig('data.gallery.base', 'some/path');
If you use a multisite install, you also have to update:
$gallery->setConfig('galleryBaseUrl', );
Save config.php, and you're done.
Posts: 27300
I corected the docs to reflect a name change from Modules to plugins.
Do you have short urls enabled?
What is the real url to to your site?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 314
a supplemental question:
can I keep G2 in /gallery2 but move only main.php/index.php in the root of web ?
(of course, a redirect can make the job, but it's a different approach)
serbanc - www.e-poze.ro
Posts: 27300
No. not without a bunch of changes.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 314
ok, thx.
serbanc - www.e-poze.ro