Announcement

#1 2022-10-17 04:30:35

Nigel-Aves
Member
2015-09-22
63

piwigo 13 . $conf['question_mark and php_extension_in_urls' dead

Hello/Hi/Greetings,

$conf['question_mark_in_urls'] = false;
$conf['php_extension_in_urls'] = false;

settings in htaccess

    AcceptPathInfo On
    Options +MultiViews

Unfortunately no longer works on PIWIGO 13, which means that search engines will point to the wrong url. I found this when 2nd level albums would not display.

I might be wrong, but I don't think permalinks are working. << this needs a bit of investigation.

Last edited by Nigel-Aves (2022-10-17 04:38:28)

Offline

 

#2 2022-10-17 10:52:10

erAck
Only trying to help
2015-09-06
2023

Re: piwigo 13 . $conf['question_mark and php_extension_in_urls' dead

Still works for me.


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

Offline

 

#3 2022-10-19 04:03:35

Nigel-Aves
Member
2015-09-22
63

Re: piwigo 13 . $conf['question_mark and php_extension_in_urls' dead

@erAck

May I ask what theme you are using? I'm using Elegant and it could be theme related rather core PIWIGO.

I did find a messy workaround using :

Redirect temp /index/ /index.php?/
Redirect temp /picture/ /picture.php?/


Nigel

Offline

 

#4 2022-10-19 10:36:53

erAck
Only trying to help
2015-09-06
2023

Re: piwigo 13 . $conf['question_mark and php_extension_in_urls' dead

Works in Elegant, Modus and GreyDragon.


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

Offline

 

#5 2022-10-19 22:24:48

Nigel-Aves
Member
2015-09-22
63

Re: piwigo 13 . $conf['question_mark and php_extension_in_urls' dead

@erAck

I was afraid you were going to mention "Elegant theme"! Now I am confused! I also tried Modus theme but same thing happens.

This was working perfectly in PIWIGO 12 (for many years), and it only fell over when moving to Version 13 and changing to PHP8.0

I have the following set in the vhost:

AcceptPathInfo On
Options +MultiViews

https://gallery.soft-focus-imagining.co … nce-museum

but I still get ... Not Found
The requested URL was not found on this server.

If you have any thoughts on what I should be trying to look at, I'll be very grateful. This has me really scratching my hat!

Nigel.

Last edited by Nigel-Aves (2022-10-20 00:29:00)

Offline

 

#6 2022-10-20 14:33:05

erAck
Only trying to help
2015-09-06
2023

Re: piwigo 13 . $conf['question_mark and php_extension_in_urls' dead

Try if PHP 7.4 makes a difference.


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

Offline

 

#7 2022-10-20 20:17:21

Nigel-Aves
Member
2015-09-22
63

Re: piwigo 13 . $conf['question_mark and php_extension_in_urls' dead

@erAck

Tried it on my test machine and can verify that it does work with PIWIGO 13 and PHP 7.4

<< Removed this bit, I was wrong about php8 working ok with dropping "?" >>

Nigel.

Last edited by Nigel-Aves (2022-10-20 20:44:45)

Offline

 

Board footer

Powered by FluxBB

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