This forum is no longer active. Please post your questions to our new community site
How to Enable Clean URL's?
|
|
I’ve been trying for days to enable the Drupal feature for “clean url’s”. I’ve worked through the steps here: http://drupal.org/node/15365 with no success. I’ve installed Bitnami here: C:\BitNami Drupal Stack What are the steps to enable clean url’s? |
|
|
Hi Ed, You just have to edit
and change
to
Then, you can go (assuming your Apache is using port 8080) to http://localhost:8080/drupal/admin/settings/clean-urls and enable it. We will think of releasing the next stack of Drupal with this change already done, happy new year! |
|
|
I uninstalled Bitnami, then reinstalled and tried the above steps. It still isn’t working for me. Here’s what I did. For this file: C:\Bitnami Drupal Stack\apps\drupal\conf\drupal.conf The contents are changed to: Alias /drupal/ “C:/BitNami Drupal Stack/apps/drupal/htdocs/” </directory> This message appears when I visit the link http://localhost:8080/drupal/admin/settings/clean-urls: “unable to connect. Firefox can’t establish a connection to the server at localhost:8080” I’m not sure how to determine if I am using port 8080. I don’t recall specifying the port when installing Bitnami. Any other steps I should follow to enable clean url’s? |
|
|
I’m sorry, my mistake. 8080 is the default port used by BitNami stacks on Linux and OSX. On Windows, port 80 is used by default. The correct link would be Bear in mind that you will need to restart Apache after modifying the configuration files, though! |
|
|
Thanks, but still no luck. Here’s what I did. I checked the config file to make sure that “AllowOverride” is set to “All”. From Windows XP, I went to Start | Programs | Bitnami Drupal Stack Service | Stop Bitnami Stack Service Next I logged into drupal here: http://d7kxtw81/ (the above two steps are equivalent to restarting Apache, right?) Finally, I went here: http://localhost/drupal/admin/settings/clean-urls I received the 404 error message: Not Found The requested URL /drupal/admin/settings/clean-urls was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. |
|
|
Shame on me. I have just done it on Windows, you have to do some extra actions comparing to Linux:
and change
to
and change
to
and change
to
|
|
|
Thank you kind and mighty Bitnami Ninja. It works! |
|
|
You’re more than welcome. I have implemented the changes to make it possible to enable ‘Clean URLs’ out of the box, and we will release newer versions of Drupal tomorrow :) |

