In order to pass the test of clean urls, need to disable maintenance mode. This condition is not obvious and very often leads to waste time for searching for the causes in .htaccess file or server configuration.
I see a very simple solution to this problem is to add an information message about need to turn off maintenance mode.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dr.Osd created an issue. See original summary.

cilefen’s picture

Please check if this is an issue with Drupal 8. If so, it must be fixed there first according to the backport policy.

drupalove’s picture

I don't think this issue affects Drupal 8 as it doesn't have a settings page for clean URLs: 'clean_url' configuration setting removed; clean URLs are autodetected each request.

For Drupal 8, it could be an issue during installation, not when the site is put on maintenance mode. Also, see Drupal 8 install does not warn if Clean Urls are not supported (works as designed).

drupalove’s picture

If you agree it is needed, I have attached a patch which tells you to go online when clean URLs test fails on maintenance mode.

drupalove’s picture

Status: Active » Needs review
joel.gilchrist’s picture

I think your logic is off a bit. In the case where maintenance mode is not enabled but the clean url test fails there is no message saying 'The clean URL test failed.'

I've reworked the patch - please take a look.

drupalove’s picture

Yes I realised I was wrong after I submitted it and turned off my laptop. Thanks!