1. Herzlich willkommen bei WPDE.org, dem grössten und ältesten deutschsprachigen Community-Forum rund um das Thema WordPress. Du musst angemeldet oder registriert sein, um Beiträge verfassen zu können.
    Information ausblenden

SSl Umstellung - htaccess-Datei Dringend um Hilfe gebeten !

Dieses Thema im Forum "Konfiguration" wurde erstellt von wassermann79, 7. September 2017.

Status des Themas:
Es sind keine weiteren Antworten möglich.
  1. wassermann79

    wassermann79 Member

    Registriert seit:
    7. September 2017
    Beiträge:
    5
    Zustimmungen:
    0
    [FONT=&quot]Hi , sind gerade dabei unsere zu bearbeiten hier unser Inhalt nach SSL Umstellung
    kann man das so stehen lassen oder wäre eine Anpassung besser ?
    Mich wundert bei RewriteRule einmal ohne https uns einmal mit ? Wäre die sehr dankbar für euren Tipp .
    In der Serach Console wird auch irgenwie ein doppelte weiter Leitung ausgegeben . Wäre sehr dank für schnelle Hilfe.[/FONT]
    [FONT=&quot]:
    # BEGIN WpFastestCache[/FONT]
    [FONT=&quot]RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^XX-XXX.XX [NC]
    RewriteRule ^(.*)$ http\:\/\/XX\-XX\.XX\/$1 [R=301,L]
    # Start WPFC Exclude
    # End WPFC Exclude
    # Start_WPFC_Exclude_Admin_Cookie
    RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=XXX-XXX
    # End_WPFC_Exclude_Admin_Cookie
    RewriteCond %{HTTP_HOST} ^XX.xx-XX
    RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WhatsApp|Mediatoolkitbot)
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{HTTPS} !=on
    RewriteCond %{REQUEST_URI} !(\/){2}$
    RewriteCond %{REQUEST_URI} \/$
    RewriteCond %{QUERY_STRING} !.+
    RewriteCond %{HTTP:Cookie} !wordpress_logged_in
    RewriteCond %{HTTP:Cookie} !comment_author_
    RewriteCond %{HTTP:Cookie} !wp_woocommerce_session
    RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil
    RewriteCond %{HTTP:profile} !^[a-z0-9\“]+ [NC]
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
    RewriteCond /homepages/29/dX323X0464/htdocs/clickandbuilds/WordPress/XXXXX/wp-content/cache/all/$1/index.html -f
    RewriteRule ^(.*) „/wp-content/cache/all/$1/index.html“ [L][/FONT]
    [FONT=&quot]AddDefaultCharset UTF-8[/FONT][FONT=&quot]FileETag None
    Header unset ETag
    Header set Cache-Control „max-age=0, no-cache, no-store, must-revalidate“
    Header set Pragma „no-cache“
    Header set Expires „Mon, 29 Oct 1923 20:30:00 GMT“[/FONT]
    [FONT=&quot]# END WpFastestCache
    # BEGIN GzipWpFastestCache[/FONT]
    [FONT=&quot]AddType x-font/woff .woff
    AddOutputFilterByType DEFLATE image/svg+xml
    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/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/x-font-ttf
    AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
    AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf[/FONT]
    [FONT=&quot]# END GzipWpFastestCache
    # BEGIN LBCWpFastestCache[/FONT]
    [FONT=&quot]AddType application/font-woff2 .woff2
    ExpiresActive On
    ExpiresDefault A0
    ExpiresByType image/webp A2592000
    ExpiresByType image/gif A2592000
    ExpiresByType image/png A2592000
    ExpiresByType image/jpg A2592000
    ExpiresByType image/jpeg A2592000
    ExpiresByType image/ico A2592000
    ExpiresByType image/svg+xml A2592000
    ExpiresByType text/css A2592000
    ExpiresByType text/javascript A2592000
    ExpiresByType application/javascript A2592000
    ExpiresByType application/x-javascript A2592000
    ExpiresByType application/font-woff2 A2592000[/FONT]
    [FONT=&quot]Header set Expires „max-age=2592000, public“
    Header unset ETag
    Header set Connection keep-alive
    FileETag None[/FONT]
    [FONT=&quot]# END LBCWpFastestCache[/FONT][FONT=&quot]# BEGIN WEBPWpFastestCache[/FONT][FONT=&quot]RewriteEngine On
    RewriteCond %{HTTP_ACCEPT} image/webp
    RewriteCond %{REQUEST_URI} jpg|png
    RewriteCond %{DOCUMENT_ROOT}/$1.webp -f
    RewriteRule ^(.*) „/$1.webp“ [L][/FONT]
    [FONT=&quot]Header append Vary Accept env=REDIRECT_accept
    Header set Expires „max-age=2592000, public“
    Header unset ETag
    Header set Connection keep-alive
    FileETag None[/FONT]
    [FONT=&quot]AddType image/webp .webp
    # END WEBPWpFastestCache[/FONT]
    [FONT=&quot]Header set Strict-Transport-Security „max-age=15768000; includeSubDomains“ env=HTTPS[/FONT][FONT=&quot]#Umleitung http zu https
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^$ https://xxxxxxx/%{REQUEST_URI} [R=301,L][/FONT]
    [FONT=&quot]Order deny,allow
    Deny from all[/FONT]
    [FONT=&quot]AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE image/svg+xml[/FONT]
    [FONT=&quot]ExpiresActive On
    ExpiresByType text/css A2419200
    ExpiresByType text/x-component A2419200
    ExpiresByType application/x-javascript A2419200
    ExpiresByType application/javascript A2419200
    ExpiresByType text/javascript A2419200
    ExpiresByType text/x-js A2419200
    ExpiresByType text/html A3600
    ExpiresByType text/richtext A3600
    ExpiresByType image/svg+xml A3600
    ExpiresByType text/plain A3600
    ExpiresByType text/xsd A3600
    ExpiresByType text/xsl A3600
    ExpiresByType text/xml A3600
    ExpiresByType video/asf A2419200
    ExpiresByType video/avi A2419200
    ExpiresByType image/bmp A2419200
    ExpiresByType application/java A2419200
    ExpiresByType video/divx A2419200
    ExpiresByType application/msword A2419200
    ExpiresByType application/vnd.ms-fontobject A2419200
    ExpiresByType application/x-msdownload A2419200
    ExpiresByType image/gif A2419200
    ExpiresByType application/x-gzip A2419200
    ExpiresByType image/x-icon A2419200
    ExpiresByType image/jpeg A2419200
    ExpiresByType application/json A2419200
    ExpiresByType application/vnd.ms-access A2419200
    ExpiresByType audio/midi A2419200
    ExpiresByType video/quicktime A2419200
    ExpiresByType audio/mpeg A2419200
    ExpiresByType video/mp4 A2419200
    ExpiresByType video/mpeg A2419200
    ExpiresByType application/vnd.ms-project A2419200
    ExpiresByType application/x-font-otf A2419200
    ExpiresByType application/vnd.ms-opentype A2419200
    ExpiresByType application/vnd.oasis.opendocument.database A2419200
    ExpiresByType application/vnd.oasis.opendocument.chart A2419200
    ExpiresByType application/vnd.oasis.opendocument.formula A2419200
    ExpiresByType application/vnd.oasis.opendocument.graphics A2419200
    ExpiresByType application/vnd.oasis.opendocument.presentation A2419200
    ExpiresByType application/vnd.oasis.opendocument.spreadsheet A2419200
    ExpiresByType application/vnd.oasis.opendocument.text A2419200
    ExpiresByType audio/ogg A2419200
    ExpiresByType application/pdf A2419200
    ExpiresByType image/png A2419200
    ExpiresByType application/vnd.ms-powerpoint A2419200
    ExpiresByType audio/x-realaudio A2419200
    ExpiresByType image/svg+xml A2419200
    ExpiresByType application/x-shockwave-flash A2419200
    ExpiresByType application/x-tar A2419200
    ExpiresByType image/tiff A2419200
    ExpiresByType application/x-font-ttf A2419200
    ExpiresByType application/vnd.ms-opentype A2419200
    ExpiresByType audio/wav A2419200
    ExpiresByType audio/wma A2419200
    ExpiresByType application/vnd.ms-write A2419200
    ExpiresByType application/font-woff A2419200
    ExpiresByType application/vnd.ms-excel A2419200
    ExpiresByType application/zip A2419200[/FONT]
    [FONT=&quot]RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L][/FONT]
    [FONT=&quot]AddHandler x-mapp-php5.5 .php[/FONT][FONT=&quot]# BEGIN WordPress[/FONT][FONT=&quot]RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L][/FONT]
    [FONT=&quot]# END WordPress[/FONT]
     
  2. Henk1060

    Henk1060 Well-Known Member

    Registriert seit:
    4. September 2014
    Beiträge:
    3.927
    Zustimmungen:
    349
Status des Themas:
Es sind keine weiteren Antworten möglich.
  1. Diese Seite verwendet Cookies, um Inhalte zu personalisieren, diese deiner Erfahrung anzupassen und dich nach der Registrierung angemeldet zu halten.
    Wenn du dich weiterhin auf dieser Seite aufhältst, akzeptierst du unseren Einsatz von Cookies.
    Information ausblenden
  1. Diese Seite verwendet Cookies, um Inhalte zu personalisieren, diese deiner Erfahrung anzupassen und dich nach der Registrierung angemeldet zu halten.
    Wenn du dich weiterhin auf dieser Seite aufhältst, akzeptierst du unseren Einsatz von Cookies.
    Information ausblenden