Announcement

#1 2020-11-17 11:02:42

davidfungf
Member
2018-07-28
13

Piwigo Home Page

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

 

#2 2020-11-17 15:47:35

erAck
Only trying to help
2015-09-06
2023

Re: Piwigo Home Page

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..


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2020-11-18 08:04:01

davidfungf
Member
2018-07-28
13

Re: Piwigo Home Page

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

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact