Ich werde nun erstmal die wp_config wieder herzustellen und schaue dann ob es geht.
Vielen dank an alle, für den Input.
Too Many redirects nach https umstellung
-
-
- 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)
-
Habe nun die wp_config bearbeitet. Jedoch hat dies den Fehler nicht gelöst. Habe aber gemerkt, dass meine .htaccess-Datei nicht die richtige war, die ich hier hochgeladen habe. Diese sieht nämlich wie folgt aus:
Apache Configuration
Alles anzeigen# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressJemand eine weiter bzw. neue Idee?
-
Habe nun die wp_config bearbeitet.
Und was steht in der Datei [FONT=Courier New]wp-config.php[/FONT] jetzt genau drin?Die Zeilen mit den [FONT=Courier New]DB_xx..[/FONT] Datenbankzugangsdaten und die Zeilen mit den [FONT=Courier New]..xx_KEY[/FONT] und [FONT=Courier New]..xx_SALT[/FONT] beim hier Posten anonymisieren oder weglassen.
-
PHP
Alles anzeigen<?php define('WP_CACHE', false); // Added by WP Rocket /** * The base configuration for WordPress * * The wp-config.php creation script uses this file during the * installation. You don't have to use the web site, you can * copy this file to "wp-config.php" and fill in the values. * * This file contains the following configurations: * * * MySQL settings * * Secret keys * * Database table prefix * * ABSPATH * * @link https://codex.wordpress.org/Editing_wp-config.php * * @package WordPress */ // ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define('DB_NAME', 'Name '); /** MySQL database username */ define('DB_USER', 'User'); /** MySQL database password */ define('DB_PASSWORD', 'PW'); /** MySQL hostname */ define('DB_HOST', 'rdbms.strato.de'); /** Database Charset to use in creating database tables. */ define('DB_CHARSET', 'utf8'); /** The Database Collate type. Don't change this if in doubt. */ define('DB_COLLATE', ''); /**#@+ * Authentication Unique Keys and Salts. * * Change these to different unique phrases! * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service} * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again. * * @since 2.6.0 */ define('AUTH_KEY', '123'); define('SECURE_AUTH_KEY', '123'); define('LOGGED_IN_KEY', '123'); define('NONCE_KEY', '123'); define('AUTH_SALT', '123'); define('SECURE_AUTH_SALT', '123'); define('LOGGED_IN_SALT', '123'); define('NONCE_SALT', '123'); /**#@-*/ /** * WordPress Database Table prefix. * * You can have multiple installations in one database if you give each * a unique prefix. Only numbers, letters, and underscores please! */ $table_prefix = 'wp_'; /** * For developers: WordPress debugging mode. * * Change this to true to enable the display of notices during development. * It is strongly recommended that plugin and theme developers use WP_DEBUG * in their development environments. * * For information on other constants that can be used for debugging, * visit the Codex. * * @link https://codex.wordpress.org/Debugging_in_WordPress */ define('WP_DEBUG', false); /* That's all, stop editing! Happy blogging. */ /** Absolute path to the WordPress directory. */ if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/'); /** Sets up WordPress vars and included files. */ require_once(ABSPATH . 'wp-settings.php'); define( 'WP_ALLOW_MULTISITE', true ); define ('FS_METHOD', 'direct'); define( 'WP_AUTO_UPDATE_CORE', minor ); ?> -
Da sieht jetzt alles ok aus.
Der Redirect von https auf http innerhalb von WordPress ist allerdings immer noch vorhanden. Weitertesten wie siehe oben (Plugins deaktivieren, anderes Theme, ...)
-
Es war das Theme...
-
Vielen Dank an alle, somit ist das Thema erledigt. Wie ihr gemerkt habt, bin ich ein ziemlicher Newcomer in WP und konnte hierdurch viel neues lernen.
-
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!