https migratie wordpress – redirect issue
-
Hi all,
Van de week heb ik mijn website http://www.janjippe.nl omgezet naar https. Ondanks de 301 redirect regel in de htaccess worden de oude http urls omgeleid via een 302 redirect.
Er zijn geen plugins gewijzigd.Zo ziet mijn htacces file eruit.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301]
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress# BEGIN GzipWpFastestCache
<IfModule mod_deflate.c>
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
</IfModule>
# END GzipWpFastestCache
## BROWSER CACHING ##
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 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 week”
## BROWSER CACHING ##Hoe kan ik ervoor zorgen dat ten alle tijden een permanente 301 redirect wordt doorgevoerd na de migratie?
Alvast dank!
-
Je hebt geen blog adres gespecificeerd of geen reden opgegeven om deze post te maken toen je dit topic aanmaakte
Je website is niet gehost op WordPress.com, maar het is een WordPress.org zelf gehoste WordPress.org site. Wij kunnen alleen ondersteuning geven voor sites gehost op WordPress.com.
Hier kan je meer lezen over de verschillen tussen WordPress.com en WordPress.org.
Als je vergeten bent om je website link te plaatsen. Reageer hier dan op en laat ons je website link weten zodat we je verder kunnen helpen.
Dit is een geautomatiseerd bericht.
- Het onderwerp ‘https migratie wordpress – redirect issue’ is gesloten voor nieuwe reacties.