I have a Drupal 8 (served via Apache) site with clean URLs enabled, however, I'm having an issue where every page is accessible over two URLs, for example example.com/index.php/example and example.com/example.

I would like to redirect the URLs containing index.php to the other URL. I'm also open to suggestions to completely disable pages being served over the first type of URL.


Browse other questions tagged or ask your own question.