Drupal 7 has the option to allow friendly URLs which makes for more memorable and easier to remember web page addresses for users of the CMS. Drupal also refers to these URLs as clean URLs. The following tutorial explains how to go into the interface to enable clean URLS and also explain the difference with the option diabled.
Setting up Search Engine Friendly URLs in Drupal 7
- Log into the Drupal dashboard as an administrator.
- In the Menu bar at the top of the screen, click on Configuration. Look for Search and Meta Data and then under that menu look for Clean URLs. Click on it in order open the screen as shown below:
- Click on the checkbox in order to Enable Clean URLs. Note that by default this option is disabled.
- Click on the Save configuration button in order to save your entry.
To understand the difference between a search engine friendly (SEF) URL and a URL that is not friendly, take a look at the table below. Note that Drupal is referring to the SEF URL as a a "Clean URL".
|Clean URLs Disabled||Clean URLs Enabled|
Keep in mind that since Drupal is generating these URLs based on the database within the Drupal installation. If the website is moved, then the URLs will need to be rebuilt by Drupal. This is done by disabling the Drupal option for the clean URLs, saving the change, then re-enabling the option so that Drupal installation re-creates the URLs based on the new location.