Hallo zusammen,
ich habe in den letzten Tagen ein paar Änderungen an meiner Joomla! Installation vorgenommen um die für Suchmaschinen zu optimieren.
Jetzt wollte ich den Inhalt auf meiner Seite aktualisieren, dies funktioniert leider nichtmehr richtig.
Wenn ich z.B. einen Satz abändere wird dieser erst nach einer langen Verzögerung von ca. 10 Minuten auf der Seite aktualisiert (selbst wenn ich den Cache lösche).
Außerdem glaube ich, dass meine Seiten doppelt vorhanden sind, da der Inhalt bei domain.de früher als bei domain.de/index.php aktualisiert wird, gleiches gilt für mein Impressum (domain.de/index.php/impressum oder domain.de/impressum).
Was mich besonders wundert ist, dass die Inhalte bei verschiedenen Links, die eigentlich auf exakt den gleichen Inhalt zeigen zu unterschiedlichen Zeiten aktualisiert werden. (vor ein paar Tagen wurden die Änderungen noch sofort aktualisiert, ohne Verzögerung).
Da das Template mit Gantry 5 arbeitet dachte ich es könnte hieran liegen, aber ich habe bereits ausprobiert ob es einen Unterschied macht einen normalen Beitrag oder den Inhalt der Startseite mit Gantry zu bearbeiten ... leider nicht.
Ich habe schon einiges versucht:
- Verschiedene Browser (firefox und Chrome)
- Cache/Verlauf/Cookies und alle weiteren Daten löschen
- Die Seite mehrmals aktualisieren
- Das SSL Zertifikat entfernen(jetzt ist es wieder aktiv)
- die .htaccess Datei komplett entfernt sowie auf den Standadzustand zurückgesetzt
Mir sind die Ideen ausgegangen.
Ich hoffe jemand kann mir helfen und würde mich über eine Antwort freuen!
Viele Grüße
Lucas
Ich kann mir nicht erklären woran das liegt.
Ich habe folgende Änderungen vorgenommen:
- SSL Zertifikat eingerichtet (für die ganze Domain)
- an der .htaccess Datei änderungen vorgenommen
- Hier musste ich z.B. "RewriteRule .* index.php [L]" zu "RewriteRule .* /index\.php [L]" ändern, da ich sonst anstelle von 404 errors einen 500 Internal Server Error bekomme.
- Berechtigungen geändert (das gesamte joomal Verzeichis, alle Dateien und unterverzeichnisse auf 755)
Systeminformationen:
- 3.6.5
- Hoster: 1und1.de
- Joomla Template: Isotope v 1.1.1
Meine .htaccess
ErrorDocument 404 /fehlermeldung-404.htm
##
# @package Joomla
# @copyright Copyright (C) 2005 - 2016 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##
##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line 'Options +FollowSymLinks' may cause problems with some server configurations.
# It is required for the use of mod_rewrite, but it may have already been set by your
# server administrator in a way that disallows changing it in this .htaccess file.
# If using it causes your site to produce an error, comment it out (add # to the
# beginning of the line), reload your site in your browser and test your sef urls. If
# they work, then it has been set by your server administrator and you do not need to
# set it here.
##
## No directory listings
IndexIgnore *
## Can be commented out if causes errors, see notes above.
Options +FollowSymlinks
Options -Indexes
## Mod_rewrite in use.
RewriteEngine On
## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site then comment out the operations listed
# below by adding a # to the beginning of the line.
# This attempts to block the most common type of exploit `attempts` on Joomla!
#
# Block any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root home page
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.
## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects
RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
##
# Uncomment the following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##
# RewriteBase /
## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* /index\.php [L]
#
## End - Joomla! core SEF Section.
########## Begin - ETag Optimization
## This rule will create an ETag for files based only on the modification
## timestamp and their size.
## Note: It may cause problems on your server and you may need to remove it
FileETag MTime Size
# AddOutputFilterByType is now deprecated by Apache. Use mod_filter in the future.
AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript
# Enable expiration control
ExpiresActive On
# Default expiration: 1 hour after request
ExpiresDefault "now plus 1 hour"
# CSS and JS expiration: 1 week after request
ExpiresByType text/css "now plus 1 week"
ExpiresByType application/javascript "now plus 1 week"
ExpiresByType application/x-javascript "now plus 1 week"
# Image files expiration: 1 month after request
ExpiresByType image/bmp "now plus 1 month"
ExpiresByType image/gif "now plus 1 month"
ExpiresByType image/jpeg "now plus 1 month"
ExpiresByType image/jp2 "now plus 1 month"
ExpiresByType image/pipeg "now plus 1 month"
ExpiresByType image/png "now plus 1 month"
ExpiresByType image/svg+xml "now plus 1 month"
ExpiresByType image/tiff "now plus 1 month"
ExpiresByType image/vnd.microsoft.icon "now plus 1 month"
ExpiresByType image/x-icon "now plus 1 month"
ExpiresByType image/ico "now plus 1 month"
ExpiresByType image/icon "now plus 1 month"
ExpiresByType text/ico "now plus 1 month"
ExpiresByType application/ico "now plus 1 month"
ExpiresByType image/vnd.wap.wbmp "now plus 1 month"
ExpiresByType application/vnd.wap.wbxml "now plus 1 month"
ExpiresByType application/smil "now plus 1 month"
# Audio files expiration: 1 month after request
ExpiresByType audio/basic "now plus 1 month"
ExpiresByType audio/mid "now plus 1 month"
ExpiresByType audio/midi "now plus 1 month"
ExpiresByType audio/mpeg "now plus 1 month"
ExpiresByType audio/x-aiff "now plus 1 month"
ExpiresByType audio/x-mpegurl "now plus 1 month"
ExpiresByType audio/x-pn-realaudio "now plus 1 month"
ExpiresByType audio/x-wav "now plus 1 month"
# Movie files expiration: 1 month after request
ExpiresByType application/x-shockwave-flash "now plus 1 month"
ExpiresByType x-world/x-vrml "now plus 1 month"
ExpiresByType video/x-msvideo "now plus 1 month"
ExpiresByType video/mpeg "now plus 1 month"
ExpiresByType video/mp4 "now plus 1 month"
ExpiresByType video/quicktime "now plus 1 month"
ExpiresByType video/x-la-asf "now plus 1 month"
ExpiresByType video/x-ms-asf "now plus 1 month"