Ich habe nun eine .htaccess, die tadellos funktioniert.
Ihr Inhalt:
Code:
<Files .htaccess>
order allow,deny
deny from all
</Files>
## Can be commented out if causes errors, see notes above.
Options FollowSymLinks
RewriteEngine On
# Uncomment following line if your webserver’s URL
# is not directly related to physical file paths.
# Update Your Joomla/MamboDirectory (just / for root)
# Uncomment this line
RewriteBase /
#comment all of the lines of the below section
########## Begin Standard SEF Section
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
##RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
#RewriteRule ^(content/|component/) index.php
########## End Standard SEF Section
# Uncomment all lines
########## Begin 3rd Party or Core SEF Section
RewriteCond %{REQUEST_URI} ^(/vietnam/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
########## End 3rd Party or Core SEF Section
Im Adminbereich unter Konfiguration / Suchmaschinen-Optimierung (SEO) habe ich alle drei Möglichkeiten auf "Ja" stellen können.
Von 1und1 bekam ich zwar einen netten Text für die .htaccess, leider bewirkte sie gar nichts.
Was soll's... Problem gelöst.
Einfach oben stehenden Text kopieren, in eine .htaccess kopieren und schon läuft alles wie geölt.
Lesezeichen