Submitted by Creech on Wed, 02/11/2009 - 23:58.
In case you don't know, I have this website hosted on a 1&1 shared hosting account. It's not the best, but it's cheap and it works.
Anyway, one of the main problems people run into with Drupal on most shared hosting accounts is Clean URLs not working. Why does this matter? Without Clean URLs, there will be a ?q= in the URL for each page, which looks weird and is not quite as friendly with search engines.
Thankfully, there is usually a simple fix. On 1&1 just two things need to change.
1 - Drupal needs to use PHP5, not PHP4. You can rename all the PHP files, if you want, or you can just add this to you .htaccess file.
#Use PHP5. AddType x-mapp-php5 .php
You can add this on any new line in the file.
2 - Drupal needs to know how to handle URLs correctly, which means this:
# RewriteBase /
needs to be this:
RewriteBase /
Yes, so just delete the # character in front of RewriteBase /, that's all. It is probably located towards the bottom of the file.
Like I said, a simple fix, but it stumps a lot of people.

Recent comments
1 year 32 weeks ago
2 years 37 weeks ago
2 years 41 weeks ago
2 years 41 weeks ago
2 years 41 weeks ago
2 years 44 weeks ago
2 years 45 weeks ago