.htaccess

Enabling Clean URLs in Drupal on LAMP Server

Earlier I wrote about how to enable Clean URLs on a Drupal installation on a shared hosting service, such as my own provider, InMotion Hosting. Now that I have setup my LAMP Stack on my own Ubuntu machine, I also want to enable Clean URLs for Drupal installations on localhost.

Enabling Clean URLs in Drupal on InMotion Hosting

In order to enable clean URLs in Drupal, your Apache server needs to be configured with the mod_rewrite module enabled. If you have access to your own LAMP server, then you need to make sure that you have that module enabled. I plan on writing about how I have been able to do that on my localhost LAMP server, but for right now I want to explain how to do this on a shared hosting service, such as InMotion Hosting, which is my hosting service.

Subscribe to RSS - .htaccess