Moin,
hoffe ihr könnt mir helfen, komischerweise tritt das Problem nur bei dieser Domain auf.
Der Server...Wordpress verlang ständig den Serverlogin, obwohl nur wp-admin mit Passwort geschützt wurde. Auch nach dem Löschen des Passworts, wird der Server Login angefordert, eine weitere hta password ist nirgendwo hinterlegt.
Auf der index tritt das Probelm nicht auf, jedoch sobald man sich weiter durch die Seite klickt.
Domain: teneriffa-tipps*eu
Danke für eure Hilfe!
WP verlangt permanent Serverpasswort
-
-
- Gerade eben
- Anzeige
Hallo!
Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.
- ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
- ✔️ Deutsche Server & DSGVO-konform
- ✔️ Persönlicher Support (kein 0815-Ticket-System)
-
-
löst das Problem leider nicht.
hier mal meine hta, vielleicht übersehe ich ja etwas?!
Apache Configuration
Alles anzeigen# BEGIN Wordpress # WPhtC: Disable ServerSignature on generated error pages ServerSignature Off # WPhtC: Protect WP-config.php <files wp-config.php> order allow,deny deny from all </files> # WPhtC: Protect comments.php RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .wp-comments-post\.php* RewriteCond %{HTTP_REFERER} !.*http://www.teneriffa-tipps.eu.* [OR] RewriteCond %{HTTP_USER_AGENT} ^$ RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L] # WPhtC: Setting mod_gzip <ifModule mod_gzip.c> 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.* </ifModule> # WPhtC: Setting mod_deflate <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent env=!dont-vary </IfModule> # BEGIN WordPress # WPhtC: Disable ServerSignature on generated error pages ServerSignature Off # WPhtC: Set admin email SetEnv SERVER_ADMIN # WPhtC: Disable directory browsing Options All -Indexes # WPhtC: Limit upload size to 2 MB LimitRequestBody 2097152 # WPhtC: Protect WP-config.php <files wp-config.php> order allow,deny deny from all </files> # WPhtC: Protect .htaccess file <files ~ "^.*\.([Hh][Tt][Aa])"> order allow,deny deny from all </files> # WPhtC: Disable image hotlinking <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?teneriffa-tipps.eu/.*$ [NC] RewriteRule \.(jpg|jpeg|png|gif)$ [URL]http://www.teneriffa-tipps.eu/wp-content/uploads/NoHotlinking.jpg[/URL] [NC,R,L] </IfModule> # WPhtC: Setting mod_gzip <ifModule mod_gzip.c> 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.* </ifModule> # WPhtC: Setting mod_deflate <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent env=!dont-vary </IfModule> RewriteEngine on # Unless you have set a different RewriteBase preceding this point, # you may delete or comment-out the following RewriteBase directive: RewriteBase / # if this request is for "/" or has already been rewritten to WP RewriteCond $1 ^(index\.php)?$ [OR] # or if request is for image, css, or js file RewriteCond $1 \.(gif|jpg|jpeg|png|css|js|ico)$ [NC,OR] # or if URL resolves to existing file RewriteCond %{REQUEST_FILENAME} -f [OR] # or if URL resolves to existing directory RewriteCond %{REQUEST_FILENAME} -d # then skip the rewrite to WP RewriteRule ^(.*)$ - [S=1] # else rewrite the request to WP RewriteRule . /index.php [L] # END WordPress -
schau mal bitte im Verzeichniss /wp-admin nach einer .htaccess und poste mal den Inhalt.
-
-
sollte aber ok sein
Na dann schau mal richtig hin, Stichwort AuthType Basic (siehe oben). Nimm folgende Zeilen raus und du hast keine Passwort-Abfrage mehr.
-
Das löst ja leider nicht das Problem. wp-admin soll ja weiterhin geschützt sein!
Das Problem ist ja, dass der Server für sämtliche Seiten den Login anfordert. -
Hmm, so richtig verstehe ich nicht, wo dein Problem liegt. Es geht doch um die Seite http://www.teneriffa-tipps.eu? Also bei mir kommt da keine Passwortabfrage, nur beim Login im Admin Bereich. Übrigens, so wie du das löst, sollte man es nicht machen. Du kannst nicht den kompletten /wp-admin schützen, da auch im Frontend diverse Dateien benötigt werden. Mach den Zugriffsschutz mal so:
Apache Configuration<Files wp-login.php> AuthName "wpadmin" AuthType Basic AuthUserFile /var/www/***/html/teneriffa/wp-admin/.htpasswd require valid-user </Files>Das kommt in die .htaccess im Root-Verzeichnis deines Blogs. Die .htaccess in /wp-admin löschst du komplett.
Nur zur Info, eine Passwortabfrage per AuthType Basic überträgt das Passwort unverschlüsselt. Besser wäre
Allerdings muß mod_digest im Apache vorhanden sein.
-
Hat sich erledigt. Danke für die Tipps! Ein Plugin verursachte das Problem.
-
Hi,
wäre hilfreich, wenn du noch sagst, welches Plugin das Problem ausgelöst hat, falls andere Hilfesuchende auch mal von so einem Problem betroffen sind. ;)
-
Meine Vermutung liegt eher darin, das dieses Plugin Dateien aus dem Verzeichnis /wp-admin benötigte und daher die Passwortabfrage kam.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!