On my installation the checkbox is visible to enable clean URLs.

When you check it and click Save, it reloads the page with the checkbox no longer checked. Why is this?

FYI you can access the page using the clean URL version: /admin/config/search/clean-urls

有帮助吗?

解决方案 2

Run through this guide to ensure you did every step:

https://drupal.org/getting-started/clean-urls

Make sure AllowOverride All is set in your vhost config. Double check that all of step 3 is set in your config file correctly. I had a similar issue on one of my servers and running through this guide fixed my problem.

其他提示

I had the same issue. After several hours I saw the

$GLOBALS['conf']['clean_url'] = 0;

at the end of settings.php. For turning Clean URLs on it should be

$GLOBALS['conf']['clean_url'] = 1;

or even remove this line at all.

Hope it helps somebody ;).

In my settings.php I changed:

$conf['clean_url'] = 0;

to:

$conf['clean_url'] = 1;
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top