Hello/Hi/Greetings,
My Piwigo is connected by Nginx (proxy server). Say my Piwigo host url is http://example.com/photo. When I click the home button, it redirects me to http://example.com/ only. How do I modify the home page url to http://example.com/photo
Piwigo 2.10.2 Check for upgrade
Operating system: Linux
PHP: 7.3.22 (Show info) [2020-11-17 17:59:23]
MySQL: 5.7.31-0ubuntu0.18.04.1 [2020-11-17 17:59:23]
Graphics Library: ImageMagick 7.0.10-25
Offline
Find where you modified it before.. without any modification Home points to the Piwigo installation diectory. Likely you have set $conf['gallery_url'] in your local config, remove it to keep the default
$conf['gallery_url'] = null;
of include/config_default.inc.php., or if that doesn't help then set the proper URL in your local config to
$conf['gallery_url'] = 'http://example.com/photo/';
And for example domains in posts use example.com instead of a porn site..
Offline
Thank you for your advice. Not only the "include/config_default.inc.php", I have to modify the "local/config/config.inc.php" too. It is working now.
Offline