GEWIS / gewisweb

GEWIS Website

Home Page:https://gewis.nl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do not allow usage of `/index.php/.*`

tomudding opened this issue · comments

Current behaviour

/index.php/.* is accepted next to /.*. This allows Google to index the same page twice (or really 4 times with the language distinction).

Desired behaviour

Any URL with the basepath /index.php should return 404.

Steps to reproduce

Go to https://gewis.nl/index.php/en/ and observe it works.

Website version

latest

What operating are you seeing the problem on?

No response

What browsers are you seeing the problem on?

No response

Other information

No response