InMotion Hosting Support Center

In our last tutorial, we explained the basic concept of Search Engine Friendly URLs in Drupal 7. In this tutorial, we'll expand upon those ideas and show you how to enable clean URLs, which is required for Search Engine Friendly URLs to work.

Please note:
Clean URLs, the setting discussed in this article, is enabled by default. You should only have to follow these steps if you are experiencing an issue with getting your new URLs to work correctly.

  1. Log into the Drupal dashboard
  2. Go to Configuration >> Search and Meta Data >> Clean URLs
  3. Place a checkbox next to Enable clean URLs. This is enabled by default.
  4. Click the Save configuration button.

    At this point, you can test to see if clean URLs is working correctly. In our Drupal 7 site, there is a link in the sidebar that says Create new account. The following table shows the URL structure of this page before and after clean URLs are enabled:

    Clean URLs Disabled Clean URLs Enabled

    The Clean URLs setting also impacts URL aliases set for content types, such as basic pages and articles. In previous tutorials we created basic pages and articles. In one of our basic pages, we set the URL alias to about-this-site. Again, you can see in the table below how the clean URLs option impacts this page:

    Clean URLs Disabled Clean URLs Enabled

If you need further assistance please feel free to ask a question on our support center.

Continued Education in Course 202: Search Engine Friendly URLs in Drupal 7
You are viewing Section 2: How to enable Search Engine Friendly URLs in Drupal 7
Section 1: Understanding SEF URLs in Drupal 7
Section 3: Setting up URL Aliases in Drupal 7

Related Questions

Here are a few questions related to this article that our customers have asked:
Should I enable clean URLs using the temporary URL?
How Do I Correct Drupal Clean URLs Redirect Issue?
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!