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.
chufuong
10-11-2008, 07:59 PM
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.http://top5choices.com/-pics-/wh_bh.jpg
sometimes the .htaccess files don't show on some servers, so i think they named it that for you to edit in this case, in which you just remove the .txt and it'll be set. Well, that and some people don't think to try and open it with notepad, lol.
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.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.