View Full Version : Enabling Clean URLs in Drupal
jspade
08-01-2006, 12:02 AM
I'm hoping someone can shed some light on this. I am trying to enable clean URLs in Drupal and can't figure out what adjustments I need to make to the .htaccess file to allow this to work. If anyone has clean URLs working in your Bluehost account please let me know? Thanks in advance.
dvessel
08-01-2006, 12:50 AM
A .htaccess file comes with Drupal. You might have missed it. Upload it then login as an admin and go into admin > settings page to turn turn on "Clean URL's" under the general settings.
alanh
06-25-2008, 03:52 PM
Can anyone shed some light on Clean URLs for Drupal on Bluehost. I can't enable it apparently due to the type of BH Apache configuration. Is there a workaround I"m missing???:confused:
charlesgan
06-26-2008, 12:31 AM
this might help.
http://drupal.org/node/15365
double check the .htaccess content. Commonly caused by this.
jpratt
06-26-2008, 09:35 PM
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
From example B, drupal.org/node/15365
--John
If you're still having problems with this (as I was) - by default the htaccess file included in the drupal install is originally named htaccess.txt. I assume this is so it doesn't overwrite any .htaccess file you might already have. At any rate, after you rename it to .htaccess clean urls should work fine.
alemcherry
10-04-2008, 07:55 AM
choz is right. All that is required is to rename and enable clean URLs from admin cp.
mbenson111
11-27-2008, 09:00 AM
I renamed the file, and still can't change the setting. Any suggestions as to why?
Nevermind. I haven't had to do anything with htaccess in a while, so I forgot the period. all is well.
dmageli
05-19-2009, 03:57 AM
I spent a couple of hours figuring this out & tried changing the code I finally came across this thread. I wish I would have found it sooner but nonetheless, I renamed the file from htaccess.txt to .htaccess in bluehost editor & low and behold it refreshed went back to the admin & it was enabled!! Thanx U Rock, CHOZ!!!:eek:
erica
06-27-2009, 09:10 AM
I have renamed the htaccess.txt file as .htaccess, but the clean url test is still failing. Anyone have any ideas what could be wrong?
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.