Change Site URL

Apologies if this has been addressed, but my searching came back with nothing relevant.

I would like to change the URL of my site from http://www.site.com/zenphoto to http://www.site.com/gallery.

Any thoughts on how to achieve this. Is it an easy change or will it require altering many files within the root folder? Any help would be appreciated.

Comments

  • Should be as simple as modifying your .htaccess file from:
    `RewriteBase /zenphoto`

    to

    `RewriteBase /gallery`

    if I recall. Just copy all your files to the new folder and modify your .htaccess and you should be set. You could always re-run the setup after copying all your files over as well and it should correct that if you don't feel comfortable editing it manually.
  • acrylian Administrator, Developer
    Actually you only have to rename the folder Zenphoto is currently installed in and then just run setup which should change the htaccess file or just change it manually. If we haven't already I will create a troubleshooting entry on.
  • Thanks. That was really simple. I changed the folder name and then manually changed the .htaccess file under 'RewriteBase'. Worked perfectly. Cheers. :)
  • Glad to hear :)
Sign In or Register to comment.