1) In config.php change the following line:
`$conf['mod_rewrite'] = true;`
to:
`$conf['mod_rewrite'] = false;`
2) Then, ANYWHERE in your config.php, copy and past the following:
`define('SERVERPATH', '[full path]/zenphoto');
define('WEBPATH', '/zenphoto');
define('SERVERCACHE', SERVERPATH . "/cache");
define('WEBCACHE', WEBPATH . "/cache");`
3) Where the above says, `'[full path]/zenphoto'` change this to the full path to the directory where you placed zenphoto. For example, my line would look something like:
`define('SERVERPATH', '/home/www/gamedudex/public_html/zp');`
4) Edit the next line to reference the [i][b]Web path[/b][/i] to the zenphoto directory. So continuing the example from above this would look something like the following for me:
`define('WEBPATH', '/zp');`
because the URL to the gallery would be http://www.gamedudex.com/zp
5)The next line would point to your cache directory (which should be inside your zenphoto directory), so if you have [i]not[/i] moved the location of your cache folder, you can leave the last two lines alone. If you [i]have[/i] moved them, make sure you change the last two lines to reflect those changes.