Can I do this? Rename the directory?

mykal

Joined: 2005-02-25
Posts: 37
Posted: Tue, 2005-03-29 21:04

Can I simply change my directory name of where my gallery is?

For instance I have this currently.
http://www.dirtyjeeps.com/gallery2/main.php

I want
http://www.dirtyjeeps.com/gallery/main.php

Can I simply rename the directory or do I need to reinstall it?

Thank you.

----

Gallery URL (optional): http://www.dirtyjeeps.com/gallery2
Gallery version: March 29th Nightly update
Webserver (with version): Linux linhost211.prod.mesa1.secureserver.net 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686
Datatabase (with version):
PHP version (eg 4.2.1): 4.3.10
phpinfo URL (optional):
Graphics Toolkit(s): GD bundled (2.0.28 compatible)
Operating system:
Web browser/version:
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-03-29 21:15

just change it. if your g2data is within the gallery2 directory, you have to change the according line in the config.php file. and if you use the url rewrite module, first deactivate it / uninstall it. change the dirname. install/activate the url rewrite module again.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-03-29 21:36

also look at the bottom of config.php and correct the galleryId (though this only matters if you will use a multisite config sometime in the future)