registrieren registriertes Mitglied


Anzeige

Anzeige

http -> https Aber...

Hier kannst Du Deine Fragen zum Thema Suchmaschinenoptimierung (SEO) stellen.
emsetoni
PostRank 3
PostRank 3
Beiträge: 80
Registriert: 21.08.2015, 16:02

Beitrag emsetoni » 13.07.2016, 15:15 http -> https Aber...

Ja wir haben es dann auch gemacht und am 27.5. auf https umgestellt. Wir hatten ein bissl unsere liebe müh`damit, haben es aber doch hinbekommen... dachten wir.
Die Zugriffsszahlen sind in den Keller gegangen und Sistrix zeigt Woche für Woche den Daumen nach unten.

Nun haben wir heute mal wieder eine Aktion gemacht und die .htaccess abgeändert. Ebenso (ja war ein Fehler) die WMT erst heute mit den https Seiten bestückt und die Sitemap eingereicht.

Hier mal unsere .htaccess, sind da Fehler?

Code: Alles auswählen

# Protect files and directories from prying eyes.
<FilesMatch "\.&#40;engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl&#40;\.php&#41;?|xtmpl&#41;&#40;~|\.sw&#91;op&#93;|\.bak|\.orig|\.save&#41;?$|^&#40;\..*|Entries.*|Repository|Root|Tag|Template&#41;$|^#.*#$|\.php&#40;~|\.sw&#91;op&#93;|\.bak|\.orig\.save&#41;$">
  Order allow,deny
</FilesMatch>

RewriteEngine On
RewriteCond %&#123;HTTPS&#125; !=on
RewriteRule ^ https&#58;//%&#123;HTTP_HOST&#125;%&#123;REQUEST_URI&#125; &#91;L,R=301&#93;

#Make CDNs friendly for Googlebot
<FilesMatch "\.&#40;pdf&#41;&#40;\.gz&#41;?&#40;\?.*&#41;?$">
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %&#123;HTTPS&#125; !=on
RewriteRule .* - &#91;E=CANONICAL&#58;http&#58;//%&#123;HTTP_HOST&#125;%&#123;REQUEST_URI&#125;,NE&#93;
RewriteCond %&#123;HTTPS&#125; =on
RewriteRule .* - &#91;E=CANONICAL&#58;https&#58;//%&#123;HTTP_HOST&#125;%&#123;REQUEST_URI&#125;,NE&#93;
</IfModule>
<IfModule mod_headers.c>
Header set Link "<%&#123;CANONICAL&#125;e>; rel=\"canonical\""
</IfModule>
</FilesMatch>

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
## EXPIRES CACHING ##

<filesMatch "\\.&#40;js|js.gz&#41;$">
Header set Cache-Control "max-age=604800, private"
</filesMatch>

<FilesMatch "\\.&#40;js|css|html|htm|php|xml&#41;$">
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4\.0&#91;678&#93; no-gzip
BrowserMatch \bMSIE\s7 !no-gzip !gzip-only-text/html
</FilesMatch>

<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.&#40;html?|txt|css|js|php|pl&#41;$
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&#58;.*gzip.*
</IfModule>

<ifModule mod_headers.c>
Header set Connection keep-alive
</ifModule>

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - &#91;L&#93;
RewriteCond %&#123;REQUEST_FILENAME&#125; !-f
RewriteCond %&#123;REQUEST_FILENAME&#125; !-d
RewriteRule . /index.php &#91;L&#93;
</IfModule>

# END WordPress
Habt Ihr sonst noch Vorschläge was wir übersehen haben könnten?

:-?

www.bbq.de

Anzeige von: