Antwort #7 am: 13. Februar 2017, 12:00:24
Die .htaccess bei den hänge ich mal dran. Der Shop liegt in einem Unterverzeichnis "
www.meineDomain/shop" wird aber zum Zeitpunkt der Scharfschaltung direkt per DNS auf das Verzeichnis gelenkt, habe ich mit den anderen auch gemacht und funktioniert einwandfrei.
alte .htaccess im Unterverzeichnis /bikershop01/:
# $Id: .htaccess,v 1.5 2005/05/19 17:09:19 Administrator Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
#<Directory "/opt/lampp/httpd/htdocs">
# AllowOverride Options
#</Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)
# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers
<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>
# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
#<IfModule mod_php4.c>
# php_value session.use_trans_sid 0
# php_value register_globals 1
#</IfModule>
#-- Call time pass reference error ?!
#php_flag allow_call_time_pass_reference On
#-----------------------------------------
#- SEO Hartmut König
#-----------------------------------------
#-- ! Comment this line, if you get an ERROR 500 !
#Options +FollowSymlinks
# http://httpd.apache.org/docs/misc/rewriteguide.html
RewriteEngine on
RewriteCond %{HTTP_HOST} ^kolbenfresser24\.de$
RewriteRule ^(.*)$ http://www.kolbenfresser24.de/$1 [R=permanent,L]
#-- Spam Refferer
RewriteCond %{HTTP_REFERER} ^http://.*7makemoneyonline\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*buttons-for-website\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*buttons-for-your-website\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*best-seo-offer\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*success-seo\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*1-99seo\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*sumaja\.de/ [NC]
RewriteCond %{HTTP_REFERER} ^http://.*burger-imperia\.com/ [NC]
RewriteCond %{HTTP_REFERER} ^http://.*hvipmanager\.in/ [NC]
RewriteCond %{HTTP_REFERER} ^http://.*1-free-share-buttons\.com/ [NC]
RewriteCond %{HTTP_REFERER} ^http://.*healbio\.ru/ [NC]
RewriteCond %{HTTP_REFERER} ^http://.*na-telefon\.biz/ [NC]
RewriteCond %{HTTP_REFERER} ^http://.*perm-afora\.ru/ [NC]
RewriteCond %{HTTP_REFERER} ^http://.*pornogig\.com/ [NC]
RewriteCond %{HTTP_REFERER} ^http://.*mosrif\.ru/ [NC]
RewriteRule ^(.*)$ – [F,L]
#-- Sitemap
RewriteRule ^sitemap(.*)\.html$ /shop_content.php?coID=8 [qsappend,L]
##-- Kategorien
RewriteCond %{REQUEST_URI} (.*):::([_0-9]+):([_0-9]+)\.html$
RewriteRule (.*):::([_0-9]+):([_0-9]+)\.html$ /index.php?cPath=$2&page=$3 [qsappend,L]
RewriteCond %{REQUEST_URI} (.*):::([_0-9]+)\.html$
RewriteRule (.*):::([_0-9]+)\.html$ /index.php?cPath=$2 [qsappend,L]
##-- Produkte
RewriteRule (.*)::(.+)\.html$ /product_info.php?products_id=$2 [qsappend,L]
##-- Content
RewriteRule (.*):_:([0-9]+)\.html$ /shop_content.php?coID=$2 [qsappend,L]
##-- Manufacturers
RewriteCond %{REQUEST_URI} (.*):.:([_0-9]+):([_0-9]+)\.html$
RewriteRule (.*):.:([_0-9]+):([_0-9]+)\.html$ /index.php?manufacturers_id=$2&page=$3 [qsappend,L]
RewriteCond %{REQUEST_URI} (.*):.:([_0-9]+)\.html$
RewriteRule (.*):.:([0-9]+)\.html$ /index.php?manufacturers_id=$2 [qsappend,L]
##-- Fehlerseiten auf die Sitemap lotsen
ErrorDocument 400 /sitemap.html?error=400
ErrorDocument 401 /sitemap.html?error=401
ErrorDocument 402 /sitemap.html?error=402
ErrorDocument 403 /sitemap.html?error=403
ErrorDocument 404 /sitemap.html?error=404
ErrorDocument 500 /sitemap.html?error=500
#php_value session.use_trans_sid off
#php_flag session.use_trans_sid off
#Options +FollowSymLinks
RewriteEngine On
RewriteBase /bikershop01/
#RewriteCond %{REQUEST_URI} (.*)\.php(.*)? [NC,OR]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*)$ - [QSA,L]
RewriteRule ^(admin|cache|callback|download|export|images|import|inc|includes|lang|media|pub|templates|templates_c)\/ - [L]
RewriteRule (language\/)(.*\/)?(.*)?\.html?$ index.php/$2$3$4 [QSA,L]
RewriteRule ^([a-z]{2})(\/)?$ index.php/language/$1$2 [QSA,L]
RewriteRule (.*)?((\/)?p[0-9]{1,}_.*)\.html(.*)?$ product_info.php/info/$1$2.html$3 [QSA,L]
RewriteRule (.*\/)?content\/(.*)\.html$ shop_content.php/$1$2 [QSA,L]
RewriteRule (.*\/)?tags\/(.*)(-(page)-(.*))?\.html$ tagclouds.php/tags/$2/$4/$5 [QSA,L]
RewriteRule (.*)-(page)-(.*)\.html(.*)?$ index.php/$1/$2/$3$4 [QSA,L]
RewriteRule (.*)\.html(.*)?$ index.php/$1$2 [QSA,L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !-l
#RewriteRule .* http://{HTTP_HOST}/ [R=301,L]
Ich habe noch nicht probiert ob die in dem neuen Shop funktioniert.
Gruß Ulli