Diese war aus den Hauptverzeichnis von WordPress, auf dem Server. Und es war alles was da stand.
Ich habe noch eine gefunden. Aber in einen Verzeichnis für Themes, dass ich nicht benutze.
(./themes/wpbasis/wp-root-tipps) und in der steht:
[code]AddDefaultCharset UTF-8
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/atom_xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-shockwave-flash
RewriteEngine On
RewriteBase /
forbid double slashes in all URLs
RewriteCond %{THE_REQUEST} ^[A-Z]+\ /(([^/\ ]+/))/+([^\ ])
RewriteRule ^ /%1%3 [L,R=301]
compress
ExpiresActive on
ExpiresDefault "access plus 1 month"
SetOutputFilter DEFLATE
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
cache
ExpiresActive On
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType text/html "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType application/xhtml-xml "access plus 600 seconds"
ExpiresByType image/gif "access plus 1 week"
ExpiresByType image/jpeg "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 month"
Header set Cache-Control "max-age=2592000, public"
Header set Cache-Control "max-age=604800, public"
Header set Cache-Control "max-age=216000, private"
Header set Cache-Control "max-age=600, private, must-revalidate"
Turn ETags Off
Header unset ETag
Header unset Last-Modified
FileETag None
www2nowww
RewriteCond %{HTTP_HOST} ^([^.]+)\.example\.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]
REDIRECT Favicon
RewriteCond %{THE_REQUEST} ^([^.]+)\favicon.ico [NC]
RewriteRule ^(.*)$ http://example.com/favicon.ico [R=301,L]
Add trailing slash
RewriteCond %{REQUEST_URI} ^/[^\.]+[^/]$
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
You should disable Indexes and MultiViews either here or in the
global config. Symlinks maybe needed for URL rewriting.
Options -Indexes -MultiViews +FollowSymLinks
PROTECT all htaccess files
<Files ~ “^[._]ht”>
Order allow,deny
Deny from all
Satisfy All
PROTECT wp-config.php
Order deny,allow
deny from all
PROTECT readme.html
Order deny,allow
deny from all
PROTECT wp-login.php
AuthName "Admin-Bereich"
AuthType Basic
AuthUserFile /www/htdocs/w0012345/.htpasswd
require valid-user
PROTECT install.php
Order Allow,Deny
Deny from all
Satisfy all
STOP Spammer
RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_REFERER} !.*example.com.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
DISABLE HOTLINKING OF IMAGES WITH FORBIDDEN OR CUSTOM IMAGE OPTION
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?example.com/.*$ [NC]
# RewriteRule \.(gif|jpg)$ - [F]
RewriteRule \.(gif|jpg)$ http://www.example.com/stophotlinking.jpg [R,L]
LOG php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_flag log_errors on
php_value error_log /www/htdocs/w0012345/logs/phperrors.log
Datei zum Regeln von IP-Bereichen
Order deny,allow
Allow from all
deny from 83.246.96.42
deny from 82.103.133.221
deny from 74.86.15.2
deny from 72.249.103.154
[/code]