dank euren Tipps konnte ich schon so einiges in der .htaccess schreiben, was mir für Weiterleitung und Site-Speed geholfen hat.
nur habe ich auch oft Fehlermeldung Error 500, was unteranderem auf falsche Befehle in der .htaccess hinweisen könnte.
hier sind doch so viele Profis am Werk, leider bekomme ich von meinem Hoster keine Hinweise..... " Ich soll mich belesen "
ich poste mal meine .htaccess, vielleicht hat jemand ´ne Idee was raus kann.
P.S. die Hoster-Techniker haben sich auch schon daran versucht
Code: Alles auswählen
AddHandler x-httpd-php5 .php
<IfModule mod_rewrite.c>
#Options +FollowSymLinks
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_URI} oxseo\.php$
RewriteCond %{QUERY_STRING} mod_rewrite_module_is=off
RewriteRule oxseo\.php$ oxseo.php?mod_rewrite_module_is=on [L]
RewriteCond %{HTTP_HOST} !^dj-shopping\.de$
RewriteRule ^(.*)$ http://dj-shopping.de/$1 [L,R=301]
RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !(\.html|\/|\.jpg|\.css|\.pdf|\.doc|\.gif|\.png|\.js)$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.html|\/)$ oxseo.php
</IfModule>
# disabling log file access from outside
<FilesMatch "(EXCEPTION_LOG\.txt|\.log$|\.tpl$)">
order allow,deny
deny from all
</FilesMatch>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript
#Options -Indexes
DirectoryIndex index.php index.html
schöne Grüße
sidj