Habe jetzt die .htaccess so stehen:
##-- redirect to https www-domain, when www is missing and no subdomain given and not using an ssl-proxy
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} !\.(.*)\. [NC]
RewriteCond %{HTTP_HOST} !^localhost [NC]
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
##-- Sitemap
RewriteRule ^sitemap(.*)\.html$ shop_content.php?coID=8 [QSA,L]
##----------------------------------------------------------------------------------
##-- When working with SEO-Urls you can decide, whether to use a colon ":" or a dash "-" symbol
##-- (Windows Servers might have problems with colon as delimiter!)
##-- Change the delimiter symbol also in file "/inc/shopstat_functions.inc.php"
##----------------------------------------------------------------------------------
##-- Use colon delimiter ":" for SEO-URLS (default setting)
##-- Categories (:::)
RewriteRule :::([_0-9]+):([_0-9]+)\.html$ index.php?cPath=$1&page=$2 [QSA,L]
RewriteRule :::([_0-9]+)\.html$ index.php?cPath=$1 [QSA,L]
##-- Products (::)
RewriteRule ::(.+)\.html$ product_info.php?products_id=$1 [QSA,L]
##-- Content (:_:)
RewriteRule :_:([0-9]+)\.html$ shop_content.php?coID=$1 [QSA,L]
##-- Manufacturers (:.:)
RewriteRule :.:([_0-9]+):([_0-9]+)\.html$ index.php?manufacturers_id=$1&page=$2 [QSA,L]
RewriteRule :.:([0-9]+)\.html$ index.php?manufacturers_id=$1 [QSA,L]
##-- Use dash delimiter "-" for SEO-URLS (alternative setting i.e. for windows servers)
##-- Categories (---)
RewriteRule ---([_0-9]+)-([_0-9]+)\.html$ index.php?cPath=$1&page=$2 [QSA,L]
RewriteRule ---([_0-9]+)\.html$ index.php?cPath=$1 [QSA,L]
##-- Products (--)
RewriteRule --(.+)\.html$ product_info.php?products_id=$1 [QSA,L]
##-- Content (-_-)
RewriteRule -_-([0-9]+)\.html$ shop_content.php?coID=$1 [QSA,L]
##-- Manufacturers (-.-)
RewriteRule -.-([_0-9]+)-([_0-9]+)\.html$ index.php?manufacturers_id=$1&page=$2 [QSA,L]
RewriteRule -.-([0-9]+)\.html$ index.php?manufacturers_id=$1 [QSA,L]
ist das so in Ordnung?
Wie mache ich das mit der 301????
Fragen über Fragen.