Hi and thank you very much for the feedback. I copied this verbatim into my .htaccess file, deleted everything else and still not working. Main page comes up but the links give a 404 error. What are you selecting in the Friendly URL settings admin panel?
Here is the .htaccess I use to get it to work on 1and1. Hopefully this will help other 1and1 users. This works for 1and1 domains where the root of the domain is pointed at a subdirectory. Works like a champ on several sites. The key was the RewriteBase / which isn’t included in the default .htaccess that comes with the install package.
#php_flag zlib.output_compression On
#php_value zlib.output_compression_level 5
# Rewrite directives here for SEF (Search Engine Friendly) URLs
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
Quote from: paulblackgsx at Aug 08, 2006, 03:22 PMHi and thank you very much for the feedback. I copied this verbatim into my .htaccess file, deleted everything else and still not working. Main page comes up but the links give a 404 error. What are you selecting in the Friendly URL settings admin panel?
Here is the .htaccess I use to get it to work on 1and1. Hopefully this will help other 1and1 users. This works for 1and1 domains where the root of the domain is pointed at a subdirectory. Works like a champ on several sites. The key was the RewriteBase / which isn’t included in the default .htaccess that comes with the install package.
#php_flag zlib.output_compression On
#php_value zlib.output_compression_level 5
# Rewrite directives here for SEF (Search Engine Friendly) URLs
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
Since it’s working for you, I assume I am doing something else wrong but all I’ve done is the standard install and I’m following all the documentation to the letter. Once I figure this all out I want to prep some documentation to help others avoid whatever silly little problem that is holding me up.
All of this did reveal though that the default .htaccess file is missing something. paulblackgsx pointed out that "RewriteBase /" should be added into the .htaccess code. Is there some place to report something like this?
This discussion is closed to further replies. Keep calm and carry on.