Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
The Drupal documentation page about clean url is at http://drupal.org/node/15365.
Starting with Drupal 5.x, there is no more 'run clean url test' link, drupal automatically performs a clean url test and if your apache configuration does not allow clean urls, then the checkbox is greyed out (disabled).
In order to enable clean url you must fiddle with apache configuration.
First thing first you must be sure mod_rewrite is enabled and AllowOverride is set to All.
If mod_info is enabled and configured in apache you can point your browser to http://www.example.com/server-info and see a nice page with the actual configuration of your apache. Documentation is at http://httpd.apache.org/docs/2.2/mod/mod_info.html.
Then you should experiment with the RewriteBase directive found in the .htaccess file in the root of your drupal installation: for a start you could try removing the # in front of RewriteBase /, that is
# If your site is running in a VirtualDocumentRoot at http://example.com/,
# uncomment the following line:
# RewriteBase /
becomes
# If your site is running in a VirtualDocumentRoot at http://example.com/,
# uncomment the following line:
RewriteBase /
Comments
There will be a link named
There will be a link named Run clean url test. I will make u through
how to deal with it?
how to deal with it?
thank you !
---------------------------------------------------------------------------
Women Lose Weight-->I would love to lose weight!
how to deal with it?
how to deal with it?
thank you !
---------------------------------------------------------------------------
Women Lose Weight-->I would love to lose weight!
-=-
The Drupal documentation page about clean url is at http://drupal.org/node/15365.
Starting with Drupal 5.x, there is no more 'run clean url test' link, drupal automatically performs a clean url test and if your apache configuration does not allow clean urls, then the checkbox is greyed out (disabled).
In order to enable clean url you must fiddle with apache configuration.
First thing first you must be sure
mod_rewriteis enabled andAllowOverrideis set toAll.If
mod_infois enabled and configured in apache you can point your browser to http://www.example.com/server-info and see a nice page with the actual configuration of your apache. Documentation is at http://httpd.apache.org/docs/2.2/mod/mod_info.html.Then you should experiment with the
RewriteBasedirective found in the .htaccess file in the root of your drupal installation: for a start you could try removing the#in front ofRewriteBase /, that isbecomes
Anyway, full apache documentation is at http://httpd.apache.org/docs/2.2/rewrite/ and at http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride.