Help.. Need to change URL

maximumrock

Joined: 2008-11-04
Posts: 31
Posted: Fri, 2008-11-21 22:14

I recently installed and setup a new gallery with checkout module and checkout by paypal plugins installed... this is for Gallery 2.3

I just realized i made the wrong URL where it is normally just /gallery2.. I need to change that URL asap since the site goes live later tonight.

Is there a way i can easily change that, or will it just be easier to start over from scratch????

thanks!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2008-11-21 22:22

FAQ: How can I move my gallery installation from one folder to another?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
maximumrock

Joined: 2008-11-04
Posts: 31
Posted: Fri, 2008-11-21 22:25

thanks dude.. that looks pretty simple.. will give it a go..

thanks again

 
maximumrock

Joined: 2008-11-04
Posts: 31
Posted: Sat, 2008-11-22 01:18

i gave this a shot.. started to look ok, but some things are still pointing to my old URL.. like trying to login to gallery via admin ID, etc.. any suggestions?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2008-11-22 01:24

Clear all template and database cache: FAQ: How can I clear cached data?

Clear browser cache
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
maximumrock

Joined: 2008-11-04
Posts: 31
Posted: Sat, 2008-11-22 01:28
nivekiam wrote:
Clear all template and database cache: FAQ: How can I clear cached data?

Clear browser cache

thanks.. will give it a shot.. this is what happens for now

404 Not Found
The requested URL /foto/main.php?&g2_GALLERYSID=b50c6c0ea883709455cf4d60b8b4347e does not exist.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2008-11-22 01:34

That link also has instructions on how to clear the cache if you can't access site admin. Clear session cookies as well.

Did your g2data directory happen to also be under your /foto/ or /gallery2/ directory? If so read over these instructions to make sure you got everything:
FAQ: How can I move my storage folder to another path?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
maximumrock

Joined: 2008-11-04
Posts: 31
Posted: Sat, 2008-11-22 01:41

well, foto was the old name.. From the get go, i had the gallery dir set to foto.. but i have changed that successfully using the first link u gave me.. i renamed the directory in FTP....made the changes in config file.. Then overwrote the file on the ftp side..gallery looked good.. Thought i was done...i go to log in screen......put in my info then click LOGIN then i received that error

I just did all the steps to clear cache..no luck

 
maximumrock

Joined: 2008-11-04
Posts: 31
Posted: Sat, 2008-11-22 01:44

ok,. i was able to get into site admin by manually altering the URL in address bar to new path.. But i dont think i want to keep having to do that right? lol.. We do appreciate your help....any ideas how to fix that login deal?

 
maximumrock

Joined: 2008-11-04
Posts: 31
Posted: Sat, 2008-11-22 01:55

Still no luck.. I am in the site admin > Maintenance screen. I go to hit RUN NOW on any of the tasks such as "Delete template cache".. After i hit RUN now, i am getting a very similar error to before.. still pointing to old directory name.. I am assuming its related to my other problem of logging in

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2008-11-23 17:07

Do you happen to be using URL Rewrite? If so, try going to Site Admin > URL Rewrite and re-save the settings making sure that Gallery can write to the .htaccess file.

If that doesn't work, try uninstalling the URL Rewrite plugin, clear the database and template cache, then reinstall URL Rewrite and reconfigure it.

If that doesn't work, post or PM your website URL and I'll see if I can see anything right off the bat.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here