#16 2021-02-01 20:18:33

simonjonnemeth
Member
2021-01-06
11

Re: Question mark in address after hiding index.php

Katryne wrote:

Hello-Bonjour !
I will keep to the original question, if you please, gentlemen : how to beautify my url ?

- I never had any problem with getting rid of index.php on home page, since it was never displayed.
- I was able to suppress the question mark via Local File Editor with one of my hosting provider
- I was able to hide the php extension via Local File Editor with my other hosting provider
- But not the other way round
- And nowhere both (? and .php) at the same time

Everything with Piwigo 2.10.2. And I never tampered in anyway with my htaccess.
If I want to know why I cannot hide ? or php at such or such host, what would you need to know ?

What I'm asking is similar. I can hide index.php but not the question mark on the end and it's just stuck in the middle of my URLs, or I can hide the question mark and .php but then I still have the word 'index' in the middle of my URLs. There is a solution involving adding a couple of lines to local file editor, a couple of lines to functions_url.inc.php and some rewrites in .htaccess but it doesn't seem to work for the latest version and the rusult is a lot of 404 not found issues: https://piwigo.org/forum/viewtopic.php?id=29076

Last edited by simonjonnemeth (2021-02-01 20:22:00)

Offline

 

Board footer

Powered by FluxBB