Hello/Hi/Greetings,
I've successfully installed Piwigo on a subdirectory of my domain (ex. www.mydomain.com/Piwigo/), connection to db is correct and tables are created.
But if I try to access, I'm redirected to install.php and a 404 error appears (install.php and install folder are not present), and if I force every time the index.php page in the url all works fine.
what can I do?
Piwigo 15.6.0
Installato il 20 August 2025
Sistema operativo: Linux
PHP: 8.4.10 [2025-08-20 08:41:10]
MySQL: 5.7.44-48-log [2025-08-20 08:41:10]
Libreria grafica: ImageMagick ImageMagick 6.9.12-98
Piwigo URL: http://www.gattoneroph.it/MyGallery
Offline
Hello Gattonero,
I do not ganrantee I give the right soluce, but I want to convey a piece of my experience with sites in subdirectories, not specially a Piwigo.
I met this kind of issue when using subdirectory instead of subdomain : the cookies of the main site get mixed with the cookies of the site in subdirectory. And it's problematic in particular with loging. Everything worked correctly when I passed the site to a subdomain of the kind : https://piwigo.domain.org
Offline
Katryne wrote:
Hello Gattonero,
I do not ganrantee I give the right soluce, but I want to convey a piece of my experience with sites in subdirectories, not specially a Piwigo.
I met this kind of issue when using subdirectory instead of subdomain : the cookies of the main site get mixed with the cookies of the site in subdirectory. And it's problematic in particular with loging. Everything worked correctly when I passed the site to a subdomain of the kind : https://piwigo.domain.org
I've hoped not to read this :D ...but It's a hosting with no possibilities to create subdomains (I think) so i'm doomed and I've to find another solution :(
Thank you!
Offline
I don't have such problem with Piwigo in a subdirectory.
Offline