Your Joomla site is hosted on 1&1? Great! ... Or not so great? Yea, I know the feeling, I had that experience too. All worked just fine (almost) until I decided to kick in the SEF engine, and use the .htaccess redirect, as I suggested elsewhere. And the disaster stroked...
The site vanished... sort of. Without my brand new .htaccess file worked, and with that file not. Took me days to figure out what was the cause and found the cure for it. Long story short - you need to force the server to parse your PHP files properly.
Its simple, you need to add only a few lines in the .htaccess file somewhere:
###### Begin parse php4 files as php5 AddType x-mapp-php5 .php ###### End parse php4 files as php5
The exact location where you insert it makes no difference. I use to insert it right after this:
## # @version $Id: htaccess.txt 21064 2011-04-03 22:12:19Z dextercowley $ # @package Joomla # @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL # Joomla! is Free Software ##
Simple, but effective. These few lines saved my ass(ets) couple of times. Hope, you will use it with same success too!
PS. The sequel continues: 1&1 SEF URL's problem reloaded