Hello All, I know this has been addressed a few times, however, I have not been able to resolve it with the suggestions found, I am sure this is my fault and simple. Here is the highlights:

Go Daddy shared hosting
Using a subfolder (go daddy's domain aliasing)
I have uncommented out the .htaccess line and entered the folder name.

# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
RewriteBase /iktomi

With this done, The options to enable or disable Clean URL is grayed out and when I try to "test" with the link, I get this error

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.33 Server at iktomiservices.com Port 80

Any more information would be greatly appreciated!! Thanks

Donovon D

Comments

Steve Hanson’s picture

If /iktomi corresponds to your domain name - then you probably want to comment out that line again. Did you try it WITHOUT chagning the .htaccess file??

Steve Hanson
Principal Consultant Cruiskeen Consulting LLC
http://www.cruiskeenconsulting.com

Steve Hanson
Principal Consultant Cruiskeen Consulting LLC
http://www.cruiskeenconsulting.com
http://www.cms-farm.com

ddildine’s picture

Thanks Steve, I actually didnt change anything initially, but I was having the same problem as others so I did this to the .htaccess file based on suggestions from the forums. /iktomi is the folder which is aliased to the domain name, maybe I was supposed to change more in the file?

wheatbix’s picture

I experienced the trauma recently of transferring my site over to Go Daddy from another provider called Planet Domain.
However, now that it is there and working, things are 1000% better.

To use virtual domains on Go Daddy - ie. if you have a domain pointed to a subdomain simply uncomment (Remove the #) on:

.htaccess:

  # If your site is running in a VirtualDocumentRoot at http://example.com/,
  # uncomment the following line:
   RewriteBase /

Do not put your drupal path in after the slash, just uncomment the line.
Hope this makes things a little more simple.

Michael Wheatland
www.goveonline.com

kenorb’s picture

Thank You.
It started working;)

hsaleem’s picture

I was facing the same issue, and your tip helped :)

dredot’s picture

perfect!!!

alexaquino’s picture

Michael, Many thanks for posting this tip/fix.

nghiadhcntt’s picture

It's worked
:*

jmbailey’s picture

Thanks; this worked for me as well.

Eranga’s picture

Great tip... Helped me.

GaneshKumar’s picture

Thank you Michael, your tip worked for me too. As i am using Godaddy first time for one of my client, i was confused early. But with your tip i did it.

GaneshKumar’s picture

Thank you Michael, Your idea worked out for me. Since this is the first time i am using Godaddy for one of my client, i was really struck with this issue. After implementing your idea it works!!!

jrhone’s picture

While logged in as Admin...

Navigating to
www.mywebsite.com/admin/config/search/clean-urls
INSTEAD OF
www.mywebsite.com/?q=admin/config/search/clean-urls

Allowed me to just click the Check box to "Enable Clean URL"

It worked WITHOUT adding
RewriteBase /
to .htaccess

semitope’s picture

jrhone suggestion worked. Changed url in address bar

rahulbaisanemca’s picture

Thanks, this solution works for me.

criznach’s picture

I had the same problem and eventually decided that godaddy doesn't fully support mod_rewrite. They claim that they do, but if you search google, you'll find other examples of it not working. If anyone has gotten it to work with drupal, I'm interested in how.

vangorra’s picture

I'm using drupal 5.1 on the deluxe godaddy shared hosting plan. I've noticed that the .htaccess file for drupal does not seem to work at all.
What's odd is I host several other websites with Gallery1/2 and Gallery's mod_rewrite is working perfectly. Perhaps there are features in the drupal .htaccess file that is not supported with the version of mod_rewrite that godaddy provides. Keep in mind, godaddy is running apache 1.3.33 for shared hosts.

:::UPDATE:::
I was toying with the .htaccess file a bit more and found that using "RewriteBase /" before the RewriteCond made everything work just dandy. This is also referenced in the "Clean URLs" handbook page http://drupal.org/node/15365

Another note to discredit further Godaddy hate. I have confirmed that this htaccess config works on both the economy and deluxe shared hosting plans.

Enjoy!

Vallenwood’s picture

I just tried vangorra's solution on a GoDaddy Deluxe Linux hosting plan, and can confirm that it works!

Thank you very much, vangorra, you just saved me a LOT of trouble, and many other people as well, I suspect.

The mod_rewrite and Clean URLs were not working at all for me before this, and now they do. I simply added this line:

RewriteBase /

Before the first "RewriteCond" line and now it works perfectly.

(Note: My site is currently hosted on a subdomain while under development, so my confirmation here refers to that case. The Drupal site, in my case, is in a subdirectory called "/development" and the so the site is at "development.mydomain.com". I'm guessing this fix will also work fine for normal sites which are in the web root, but that I can't say I've confirmed.)

laurencemercer’s picture

Just wanted to say thanks very much for this, it was a great help.

I have now used it successfully on both a main domain and a subdomain.

www.lhmdesign.com - Drupal themes and Drupal theming services.
My Drupal blog - Drupal theming, one post at a time.

Linuk’s picture

confirm it does work, thanks

itowler’s picture

I would also like to confirm that the clean URL's work with godaddy hosting.

Details :

Drupal 5.1
Godaddy Deluxe Linux Hosting

Uncommenting the "Rewritebase / " in the .htaccess was all that I needed to get clean URL's working. Easy.

Thanks Vangorra

revolve’s picture

As a newbie, I decided to install drupal (v 6.2) into a subdirectory so that exisiting html pages would still be accessible. After reading several nodes on the subject, I was confident that modifying that I could modify the .htaccess file to make the Drupal folder appear in the root directory, when ready.

Unfortunately that hasn't been the case. I have a partial solution which contains a combination of URL rewriting rules from various forum posts - not ideal I know. I won't bore you all with the full list of problems, suffice to say there's a lot of broken links, i.e. certain modules can't find their CSS files, users can't upload files, browsers can't see the favicon image, etc etc.

My web-host: Godaddy uses Apache v 1.something, rather than v.2 which may be part of the problem. They suggest just moving the Drupal folder into the root and pointing the database to the new location. Has anyone tried this?

bhardy101’s picture

Thank you very much, worked great!

neerajskydiver’s picture

adding this as last line saved my day too.

RewriteBase /

I am on GoDaddy Shared Linux hosting plan.

Neeraj
---------------------------
http://www.valuebound.com

linuxRush’s picture

I cannot confirm that this is working.

Using GoDaddy - Delux package

I have drupal 5.1 setup like this:

ROOT_FOLDER/somedir_1/somedir_2/somedir_3/

The wierd thing is: I didn't need to make any changes.... the clean URLs work just fine AS LONG AS I add a trailing slash.

For example,

If I want to navigate to the blocks section of the admin area, then this would do the trick:
http://mysite/somedir_1/somedir_2/somedir_3/admin/build/block/

[NOTICE THE TRAILING SLASH IN THE ABOVE URL!!!]

However, this would produce the infamous 404 error:
http://mysite/somedir_1/somedir_2/somedir_3/admin/build/block

-LR

linuxRush’s picture

Further note, even after moving the site to just be one level deep, didn't make any difference.

i.e., now I have my drupal set up like this:

http://mysite/drupal_dir

and I modified the .htaccess file accordingly and still no go.

I have opened up a separate forum post for this issue @ http://drupal.org/node/147552

Best
-LR

kwixson’s picture

I changed my .htaccess file with the "RewriteBase /" modification and then reran the Clean URL test to no avail. Then, on the next suggestion I added a trailing slash to the Clean URL test URL and it worked, and from there clicked "Enable" and saved the configuration. Clean URL's is now working and I haven't found a problem yet.

GoDaddy (via a reseller account) basic hosting account, Drupal 5.1, MySLQ 5.x db.

Cheers.

sparkguitar05’s picture

You just saved me so much trouble. I'll explain this again for anyone who is still confused.

Look for the following lines near the very bottom of the .htaccess file:

# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Add RewriteBase / right before RewriteCond %{REQUEST_FILENAME} !-f so that the code now looks like this:

# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

That should make everything work right away. Feel free to contact me if you need any help.

Amix’s picture

im also using godaddy.com but for some reason it wont work in sub folder :(

mykinds’s picture

This worked for my Deluxe Linux hosting account. This is also on a subfolder that is aliased to a domain.

No need to add the subfolder's name.

mykinds
http://www.every13days.com

travel-diaries.info’s picture

sparkguitar05 Thanks Thanks Thanks!!!!!!!!!!

NOTE!!

May drupal is not in the first main folder but in subfolder so I was trying to implement RewriteBase /something

in

 # Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteBase /something
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

And it was not working so I was confused but tried to act stupid and deleted the something part and don the exactly as sparkguitar05

# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

AND IT WORKED :)

drupala’s picture

My drupal site is not in the root directory either and I tried the method of uncommneting rewritebase/ but it doesn't work for me.
I have tried calling godaddy to help me with the configuration but since my site is hosted on shared hosting, the support isn't there.
Did you place .htaccess file in the subdirectory where your drupal site is running? Also, was there anything else that you had to do in order to configure the clean urls? What php version are you running your site?
If you could write little more on how you solved this problem, that will really help me. I never had this issue until now.
Thanks.

wjbritt’s picture

I wanted to point this out for fellow novices (I didn't catch on to this immediately)....

Clean URLs DOES work fine with GoDaddy Shared hosting. The techs are worthless, so you are on your own. Don't waste time calling.

If you are using Shared Hosting (the cheap plans) the make sure you understand that there is a DIFFERENT ".htaccess" file for EACH OF YOUR WEBSITES!!!

example:

www.yoursite.com is the hosting account. All the other domains are aliased to that account. so if you have other domains it will look like this....

www.yoursite.com/site1
www.yoursite.com/site2

Each one of these folders on the server will have it's OWN ".htaccess". Log onto the FTP client in the Hosting Control Center (it's under Content)
You'll see your root. It has an ".htaccess" file. This one ONLY effects the root domain.

If you wanted to use clean URLs on "Site 2" for example, you must change directories to THAT folder.

In it you will see ANOTHER ".htaccess" file. THIS IS THE ONE YOU NEED TO MODIFY. All of the previous posts are right. Just put the "RewriteBase /" where it goes as stated above. It just hasn't been clarified that you need to do it in each folder with each file.

It's VERY easy to use the web based FTP client. Just copy the ".htaccess" file to your desktop, open it with WordPad (not notepad - it will lose all the formating) and modify it, save it, then upload it right back up to where you got it. If you are really nervous about screwing something up just rename the old one to ".htaccessOLD" or something like that.

After it's modified, log back into that site, go to administration - clean URLs, run the test, and it should work.

So if you have 6 sites on your account - you will have 6 files to modify. Doing it to the file in the ROOT directory does nothing to your other sites. This may be a nobrainer to a lot of you, but logging on and seeing that file in the root makes it real easy to think it's the one you need to work with.

Hope this helps all the other frustrated GoDaddy customers. They don't offer ANY support for Drupal - saying it's a "third party app" even though they offer it as an install in the Hosting Connection Control panel. It is very convenient install from there. Also it seems they are offering one click UPGRADES now to the latest version too. So even though I give them an 'F" for Drupal support, it is possible to host multiple Drupal sites there for cheap. I'm finally pleased, now that the URLs are working right. It's just frustrating that the solution came from here (for free) rather than the hosting company I am paying money to.

W.J. Britt

krrokkx’s picture

I still wasn't able to enable the url rewrite. I have a domain myDomain pointing to /myDomain/drupal in my hosting account. The "drupal" folder was created during the drupal instalation by godaddy and contains the drupal's files and the .htaccess.
Please confirm that this is the right file to modify.
I uncommented the RewriteBase / line in this .htaccess file. The test Url did not work. I changed this line into RewriteBase /myDomain and even to RewriteBase /myDomain/drupal with no success. Do I miss something? Does this change need time to propagate or just a refresh on the nice url should work? do I need to log off and log in again?

wjbritt’s picture

That is the .htaccess file you want to modify. As I posted before, you can just rename it if you are worried about breaking something.

Download it to your desktop using the GoDaddy FTP client. Then open it with word pad. Look for this section. It's towards the bottom.

# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Modify it so that it looks like this. Note that you are ADDING THE TOP LINE.

# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Don't put any domain name after the RewriteBase /

I also "uncommented" (which means you remove the "#" character) one line in this section further up the page. When I was done it looked like this...

# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
RewriteBase /drupal

The section I "uncommented" is the last line.

I saved the file, then just uploaded right into the same directory. It overwrites the old one (so if you are worried you need to rename the old one on the server side FIRST)

Worked fine for me the first time out, then I just uploaded the same .htacess file to other sites in other folders and they are all working fine too.

goodluck4287’s picture

Here is the code I have now and what is around it... the site is to be in the root of a "____.org" site. So I have a .htaccess file in the root of my site. Yes it is shared godaddy hosting, but I'm only personally hosting one of my sites on this (yes I know that shared means others share the server, I am not sharing the bandwidth and storage with my other sites). Still won't let me have clean urls. Any suggestions? Thanks in advance. ...and using Drupal 6.0.

Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

TomSherlock’s picture

I simply wanted to had that i continue to have the same challenge as goodluck4287.

I have:
Deluxe Linux hosting account (shared)
PHP 5
phpMySQL5
Drupal 6.1

Can anyone suggest how to trace/debug this issue?

Spinuzzi’s picture

I can only get my drupal install working on a Godaddy shared plan if I don't have any .htaccess files in the directories above it! ANY .htaccess file seems to cause a server error. Will keep trying...

charliecheney’s picture

Just wanted to thank everyone in this thread. I have it working on GoDaddy now for both Drupal 6.1 and 5.7 and all my clean URLs are working perfectly.

I too used the built-in GoDaddy quick installer to install Drupal 5.5 first, then I upgraded each install manually to 5.7 or 6.1

To get Clean URLs to work The only thing I changed in the base drupal default .htaccess file was this line:

RewriteBase /

Which I changed from the default :

RewriteBase / drupal

I had to replace the .htaccess file for every domain name as noted above. So each directory below has the new .htaccess file:
http://mydomain.com
http://mydomain.com/site3
http://mydomain.com/site3
http://mydomain.com/site4

Thanks again to everyone!

millionaire’s picture

Blimmin brilliant, I've just swapped servers to godaddy and kept getting error 500 from htaccess and it's drove me crackers - this solved all my problems, thank you so much!!!

jackhutton’s picture

took me a while - but thank you for taking the time to post this;
there are a few very helpful godaddy/drupal posts .. it's taken me to the next level of development - really appreciate the open forum.

I created a subdomain - to use as a testing location - the importation of the database into godaddy was difficult due to size limitations and the inability to use zipped files.. I had to break up some tables. And then the configuration of the settings.php and the sites/default/default.settings.php page for the database location (from the edit twirl down of the database properties)..
phew.

Thanks all.

''The secret though is just keep walking through life without analyzing it too much or clinging to it too much. Just walk on.'' - Marilyn Silverstone, Magnum Photographer & Buddhist Nun, b. March 9, 1929, October 1999.

''The secret though is just keep walking through life without analyzing it too much or clinging to it too much. Just walk on.'' - Marilyn Silverstone, Magnum Photographer & Buddhist Nun, b. March 9, 1929, October 1999.

SurferLeo’s picture

Step 1
Create a .htaccess file in website's root directory and place the following code in it:

RewriteEngine on RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Step 2
Login to the Admin section of Drupal site and enable the Path module.

Step 3
Run a clean URL test and enable the Clean URLs.

idontunderstand’s picture

I have installed version 5 of drupal on a shared host godaddy. I know this question has been dealt with several times before but i just wondered if you could point me in the right direction...

my drupal file is installed as a sub-directory which i installed from go daddy...

so i understand that all i need to do now is go into the .ht access file and past this, but where exactly...i have opened up the .htaccess file in a word programme but i am not sure where to put the code or where to edit it exactly?

RewriteEngine on RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

TomSherlock’s picture

Unfortunately RewriteEngine on RewriteBase / is not working for me. Nor is RewriteBase /

I have the shared deluxe account, php 5, Drupal 6.2.

I have communicated with Godaddy with no success via e-mail, forums, phone (and maybe chat, but don't remember). They all say the same thing: Mod_rewrite works and go to Drupal.org for a solution.

Now, if everyone on this thread is able to get Clean URL's to work except me, it means that there must be something wrong with the backend, perhaps the particular server in which my account sits. Any ideas? I'm now looking for a different host. I disgusted with Godaddy's stonewalling.

deric2012’s picture

If you didn't install on goDaddy, but ftp'd it up, here's what worked for me:

Disable and re-enable the path module. Then, retest clean urls.

This worked for me, I didn't need to add RewriteBase / at all (though my site is in the root folder on godaddy)

idontunderstand’s picture

i have tried both of the options, editing the .htaccess file in my drupal subfolder with modules, and also putting a .htaccess file in the root folder, i enabled path module, i went into clean url's in the clean url module, did the test, still got an error on the page, nothing seems to work. Using godaddy shared hosting...

Then i went into all the aragraphs at the bottom of the .htaccess file and I removed the

# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
RewriteBase /drupal

# Rewrite old-style URLs of the form 'node.php?id=x'.
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{QUERY_STRING} ^id=([^&]+)$
RewriteRule node.php index.php?q=node/view/%1 [L]

# Rewrite old-style URLs of the form 'module.php?mod=x'.
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
RewriteRule module.php index.php?q=%1 [L]

# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

# $Id: .htaccess,v 1.81.2.3 2007/09/21 12:24:22 drumm Exp $

FINALLY IT WORKED! i WENT IN AND ENABLED THE CLEAN URL'S!

I had to get rid of all the # bits and edit all 3 of the paragraphs with RewriteBase /

I am using a drupal subdirectory in shared hosting by the way....not bad for an amateur who knows absolutely nothing about programming!

pengekcs’s picture

Hi all!

First of all thanks for the topic starter for this. basically I have a subdomained site like this:

mikieger.example.com

hosted in [ftp root]/something/something2/mikieger

Just uncommenting the line:

RewriteBase /

Solved the problem. And I do have multiple .htaccess files top of these directories. So basically reading through the drupal .htaccess file would have given me the solution.

I have to note though that It needed godaddy a few minutes to get it working. (so have a coffee before you start complaining).

Bests,
---
[penge]KCS

larsdesigns’s picture

I uploaded by ftp a drupal 6.3 install to a godaddy.com Deluxe Hosting account.

In the .htaccess file I Just un-commented the line:

RewriteBase /

This allowed me to enable the Clean URLs module.

mmitchell’s picture

Thanks for the help you all!

To make things easier (or more confusing depending on how you look at it) the code needed is already there.

Just before this code at the bottom:

# Rewrite URLs of the form 'index.php?q=x'.
RewriteBase /something
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

It says:

If you are using.... on your server uncomment the following line

so all you have to do is delete the "#" sign in "#RewriteBase /"

Then just upload the file and change the configuration through the admin tool on your site! That can be found under admin/site configuration/clean URLS. Cool stuff!

sportman1280’s picture

Just to document a fix for the 6.0 version:

http://www.jtpratt.com/how-to-fix-htaccess-file-for-mod_rewrite-and-addh...

You don't touch your files. You touch the Godaddy config :)

j_ten_man’s picture

Did everything as explained, and still no luck with it. Here is what I have:

  • Drupal 6.8 is installed on my shared server under /galleries/drupal
  • I have a domain that points directly to this folder (so www.example.com pulls up my drupal site)
  • I have edited the .htaccess file under my drupal installation by uncommenting the line RewriteBase /

With the above changes I cannot enable CleanURLs. I am pretty sure this is what others have done to get this to work, but I am having no luck. Any suggestions or help would be greatly appreciated.

j_ten_man’s picture

Maybe I found it: http://nf0g.projectnf0.com/coffeebranlaxative/2008/05/12/godaddy-drupal-...
I have jsp support enabled. I have disabled it and will see what happens tomorrow. Fingers are crossed.

j_ten_man’s picture

Well after a nightmare with disabling JSP Servlet (they changed my server IP when I did this so then all of my domains that were pointing to that server had to be reset, and all in all it was a nightmare), I am back to square one. I have the following in my .htaccess file:

  # Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !=/favicon.ico
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Of course I have all of the other lines above that as well that are in the file, but this is exactly what I have and no luck.

So actually I am even further back now then I was. It is as if mod_rewrite doesn't work at all. At least before when I put a trailing slash on to the end of the clean-url request, it was working, but now nothing. 404 Error always comes up. As a note, I have gallery on my server as well and I have never had any luck with clean urls there, but the support here seems much better.

I am pretty sure I am doing exactly what everyone else did that got it to work, but for me it is not working. Any direction or help would be very very helpful!

spyderboy’s picture

I had the same problem. Since the default .htaccess looks ok (once you uncomment the rewriteBase / line), I added the following line to my settings.php basically forcing Clean URLs on, and it works for me.

$conf = array(
'clean_urls' => 1
);

Good luck!

Perfection is a direction, not a destination.

smakaje13’s picture

Not sure if people are still having issues with this.

So I'm using Drupal 6 and godaddy hosting, and I finally got this to work yesterday. I followed pretty much all of the suggestions within this thread, and found 1 last thing that did the trick for me.

In your actual URL where you are running the clean-url test, just take out the "?q=so it looks like the clean URL:

for example: http://www.yoursite.com/admin/settings/clean-urls

After I did that, I was able to pass the clean URL test and was allowed to enable clean URLs.

Hope this helps.

darmstrong’s picture

That FINALLY WORKED!
I did *EVERYTHING* in the above mentioned thread and it was as simple as editing the URL in my browser window.
Many Kudos to you for posting this solution.

I have 6 sites on GODADDY (Economy Shared Hosting plans, basic stuff) and all use Drupal... all drupal installations are in the ROOT folder
and only ONE of my sites was having this issue, it was driving me BONKERS all the others unpacked right out of the box. I (FTP) drupal manually to set up accounts, but with this one single site, the install.php ran BADLY error after error, but when you go to check the error page, the site was up and looking good... I got the basics set up, added whatever modules I wanted, ran the update, but the Clean URLS was giving me nightmares.

Thank you for this EXTREMELY simple fix!

froboy’s picture

Just another plug for this method. I tried a number of changes to the .htaccess but none changed the result of the clean-url test. I removed the ?q= from the url and bingo! Success.

spyderboy’s picture

I noticed it may take some time for your changes to take effect on GoDaddy servers, which can be confusing when you are trying to troubleshoot. Wait 5 minutes after your change to .htaccess or settings.php, and you will be more likely to see your changes.

Anonymous’s picture

I just spent about 5 hours in total over the passed two days trying to get this working, as well as a couple of hours about 3 weeks back when I started work on this website.

I needed to get Clean URLs as part of the ImageCache and ThickBox module combination within a View would not allow the images to appear in a ThickBox if not used on a clean URL.

fast forward to today, I was on the phone with a GoDaddy rep who agreed with my idea that if I installed a Drupal site using their online application to install automagically, I could then copy their .htaccess file and drop it into my subdirectory and it would be gravy, right? wrong. I bet their file helped, but I still had the "your site is not configured" bla ba message.

So I said "something is up with permissions" and I ran a node-permission reset from within drupal, and I got the nice big green message telling me that it was possible to have clean URLs.

Just goes to show that the htaccess is probably working, but your database or file permissions are probably blocking its effects from being visible.

dleonard’s picture

this worked beautifully for me - thank you

VM’s picture

from my reading of many of the posts with regards to this issue a change that you make to .htaccess can take up to an hour to take effect.

bsenftner’s picture

I'm hosting on godaddy too, with an economy hosting package, and spent 3 days trying to get this working. Finally, it does, and my working solution varies from the described solutions above... seems as if nobody addresses the fact that there are three files that impact the situation...
I've documented my working solution here for others:
http://drupal.org/node/520700

mariohernandez’s picture

I have a shared hosting economic plan with GoDaddy and I edited the .htaccess file by simply adding the the line RewriteBase / just before RewriteCond and that's all it took to let me enable CleanURLs. Thanks to all the people who posted this great tip.

Keep up the great work guys

mk31762’s picture

I have mydomain.com/drupal. I have no .htaccess file in my root. In fact, I have nothing in my root.

In the .htaccess file in my drupal folder I have:

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

And it still dosn't work. And I've tried every possible combination of /, /drupal, etc. I tried the /admin/settings/clean-urls/ with the trailing slash solution. I've tried adding an .htaccess to my doc root and changing the $base_url in my settings.php file. I've tried disabling and re-enabling the Path module. Still, no clean urls.

Any ideas? Anyone?

johnvsc’s picture

I am posting this here because I use godaddy with no problem and have created a tutorial on Setting up SSH / Drush on a Go-Daddy Shared Hosting Plan here : http://www.johnzavocki.com/blog/setting-ssh-drush-go-daddy-shared-hostin...

Along with the solutions on this page, you should be good to go!

vlgee’s picture

I found your post after doing a google search, trying to find out how to get clean urls working with GoDaddy. I added the line you suggested and it now works! Thanks so much!

mmatzen’s picture

Thanks for the fix - this has been driving my nuts!!

kuttu666’s picture

hank you very much, great!

aotu’s picture

Drupal is running from the root directory on a shared goDaddy hosting account.

1. Make sure that Paths module is enabled, and that you have the permissions configured. Admin > Modules, Admin > Permissions

2. Navigate to Administrator > Clean URLs, and then check the URL for ?=

3. If the URL contains ?= then remove it, so that the url is now http://yoursite.com/admin/settings/clean-urls

This seems to be an annoying little bug in Drupal, and is easily resolved.

owntheweb’s picture

Yay! That worked for me! Thanks for the tip.

Worlds to explore. Worlds to create.
Blog: http://www.christopherstevens.cc/blog
Twitter: http://www.twitter.com/owntheweb

lee8oi’s picture

first I did the edit thing where you add the lines to the .htaccess file:
# Add handlers for php
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4

But it nothing changed. Drupal still said Clean Urls wasn't supported. But....after uncommenting the following in .htaccess :
# RewriteBase /

Clean Urls work :) Thanks again for this suggestion. You rock :)