Books on Drupal

There are a few books on Drupal and they range from everything for the beginner to everything for the advanced. I have a page devoted to Drupal books that are available for purchase along with a review on each of them.

New to Drupal?

Are you new to Drupal? What is Drupal and why do you want to use this? In this video I build a Drupal website in 10 minutes. See why Drupal rocks!

Playing Clean URLs need .htaccess File

Your browser is not able to display this multimedia content.

Problems viewing videos?
Download latest Flash Player

If you can't get clean URLs to work on your Drupal installation and you are sure you have everything correct, you might want to check your .htaccess file. This first thing is to make sure you have one.

I have found out that sometimes I miss this file. This is because I installed Drupal by dragging all the files and folders over to my server, but since the .htaccess file starts with a period, OS X hides it. This means that the .htaccess file was never moved over.

So if you are doing a fresh installation and you are dragging over the files and folders that are necessary, make sure you show hidden files and drag the .htaccess file over too.

Anonymous's picture

.htaccess

I have the .htacess file in the right place, but it still doesn't work!
Do i need to configure apache?
I can't figure out how!!! so annoying.

JoePro's picture

days of frustration....solved

Setup: Mac OS X, Drupal 5.7, Cyberduck 2.8.3 and GoDaddy Linux Hosting.
I had no idea that using a Mac would create this huge problem. When I was trying to enable clean URL's I was getting an error page. I tried all the tricks (waiting an hour for the server to reset with the new settings, adding a trailing slash to the clean url, etc etc). Nothing was working. I searched and searched to find the .htaccess file to manually change, blaming GoDaddy for now allowing me to do this on their server; all futile, because I NEVER UPLOADED THE .htaccess FILE IN THE FIRST PLACE! I even went as far as throwing homebrew .htaccess files everywhere I could in all sorts of folders (one website said if your file is wrong, it just won't do anything, so I figured if it were in the wrong spot, it wouldn't do anything either). Cyberduck did not show the .htaccess file on my hard drive, so I could not upload it to the server. After seeing the comments and the video, I downloaded drupal on my windows laptop, and there it was, in all its glory, the .htaccess file. Uploaded it via ftp from the network neighborhood, and boom, days of frustrations turned to glee because now I can use ImageCache. My life can go on... THANKS A MILLION DRUPAL DUDE.

jonty's picture

I also use OS X and was

I also use OS X and was frustrated by this.
What FTP prog do you use?
Currently I use CyberDuck and even with show hidden files turned on it still doesn't show them within it's upload window. So I have to drag them across as you say, but I really don't like having to do that.

OK maybe I should just use the commandline FTP ... it really puts you in 'command' ;-).

DD's picture

.htaccess

Unix, Linux, and OS X hide all files with a "dot" in front of them, windows does not, you are correct on the mod rewrite being enabled on most servers, I struggled with this on my own linux servers and there is a ton of online resources to help with this incase your drupal install fails the clean URL test. Nice tip, I guess I have never run into it as I used a Windows box to set up my original Drupal install.

DD

PS shorten the number of characters in your Captcha image .. please too much typing...lol

paul delsignore's picture

Just wanted to mention that

Just wanted to mention that I love your site and your tips on Drupal. Thanks for sharing and continue to look forward to visiting your site.