MetaModels / core

MetaModels Core Module
GNU Lesser General Public License v3.0
96 stars 42 forks source link

it is not possible to filter on the home page if the alias is index #1460

Closed zonky2 closed 1 year ago

zonky2 commented 2 years ago

it is not possible to filter on the home page if the alias is index

Tested in MM 2.2

discordier commented 2 years ago

Need more details of the setup and data.

zonky2 commented 2 years ago

I have MM-Filter at start page - if the alias e.g. home and I click the filter button, we rederect to URL

domain.tld/home/filterkey/filtervalue

o.k. - works fine, but I change the alias to index and I click the button we rederect to

domain.tld

without slug parameters...

the URL

domain.tld/filterkey/filtervalue

retrun a 404

zonky2 commented 2 years ago

I have tested this in the Contao demo with the news and set the reader to the start page and changed the redirection accordingly - in the URL index is then added e.g.

https://demo.contao.org/en/index/new-contao-versions-in-short-intervalls.html

zonky2 commented 2 years ago

build testcase

zonky2 commented 2 years ago

hmm - at testcase works...

zonky2 commented 1 year ago

apparently the problem only exists with certain providers and then also not in every directory/project ... hmmm??? The main problem is probably the MultiViews parameter - if this is switched off, it works fine.

<IfModule mod_rewrite.c>
# Needed on All-Inkl.
Options +FollowSymLinks -MultiViews -Indexes
...

Thanks at @discordier for your Knobelei :D