-
doppelten title -Tags - mit index.php/
Hallo Leute,
ich bin gerade beim erstellen einer neuen Seite mit Joomla und nun habe ich folgendes Problem:
Meine Webseite ist immer doppelt da:
einmal mit
www.domain.de/index.php/test1.html
www.domain.de/test1.html
Habe zwei verschiedene Webhoster, Alfahosting und Strato jeweils mit Remod Rewrite.
Hier meine .htaccess:
RewriteEngine On
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a ********** tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)
RewriteBase /
########## Begin - Joomla! core SEF Section
#
#index.php verbieten
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.(html?|php)\ HTTP/
RewriteRule ^index\.(html?|php)$ http://www.domain.de/ [R=301,L]
RewriteCond %{HTTP_HOST} !^www\.domain\.de$
RewriteRule ^(.*)$ http://www.domain.de/$1 [L,R=301]
#www erzwingen
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*) http://www.%{HTTP_HOST}/$1 [R=301]
#Gone 410, bedeutet, dass die Seiten nicht mehr Verfügbar sind!
RewriteRule index\.php/.+ - [G]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
Hat jemand ein ähnliches Problem? Meine Webseite wird somit in Google immer Doppelt gelistet, wobei die Seite mit dem index.php/test1.de jeweils immer ohne Template ist und somit geringfügig anders, aber eben doppelt erkannt wird.
Ich habe auch schon das Template ausgetauscht, daran kanns nicht liegen, denke ich jedenfalls.
Derzeit habe ich per 410 Gone Befehl über die htaccess eben die index.php/... seiten alle überbrückt auch eine Umleite per 301 wäre denkbar, aber das kann keine Lösung sein!
-
-
Hat keiner ein ähnliches Problem? Oder eine Lösung?
-
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- Anhänge hochladen: Nein
- Beiträge bearbeiten: Nein
Foren-Regeln
Lesezeichen