Drupal handles page URLs in a style that can inhibit search crawlers from indexing your website.Â
Enabling Clean URLs in Drupal
Drupal will automatically install with Clean URLs if it thinks the system is compatible. If you are still getting "?q=" in your URLs, you can turn Clean URLs on manually.
Drupal 7.x
- Log into your Drupal Administration page.
- Select "Administer".
- Select "Configuration".
- Select "Search and Metadata".
- Allow the test to finish.
- Select the "Enable Clean URLs".
- Select "Save Configuration".
Drupal 6.x
- Log into your Drupal Administration page.
- Select "Administer".
- Select "Site Configuration".
- Select "Clean URLs".
- Enable Clean URLs.
- Select "Save Configuration".
Dedicated Servers
If you are a Dedicated Server customer, you may need to edit the httpd.conf files. To do this:
- Enable mod_rewrite.
- Find the correct Apache configuration file for your website.
- Copy the Drupal-specific settings into your configuration file.
For further documentation, read Drupal's guide for configuring clean URLs.