Beiträge von Alex87
-
-
Danke [COLOR=blue]Hille[/COLOR] für die schnelle Antwort. Dass ist es ja gerade, ich kann bei mir diese Zeile nicht finden. Wie gesagt, ich bin Einsteiger und muss noch fieles erstmall finden. Soll ich die ganze [COLOR=blue]config.php[/COLOR] hier zeigen?
-
SSL-Proxy
Hallo, ich habe auch das Problem mit SSL-Proxy. Ich bin Einsteiger, HP- Unitymedia Paket bei 1blu. Wenn ich SSL- account in Browser eingebe, komme ich auf meine URL. Bei 1blu habe ich nachgefragt, die sagen: es liegt an WP, man kann in DB per Hand das ändern. Hat mir nichts gebracht.
[COLOR=blue]simjay[/COLOR] sagt: [COLOR=blue]Ich benutze folgenden Code in der WP-Config:[/COLOR]
PHP-Code:
[LEFT][COLOR=#000000][COLOR=#007700]if([/COLOR][COLOR=#0000bb]$_SERVER[/COLOR][COLOR=#007700][[/COLOR][COLOR=#dd0000]'HTTP_X_FORWARDED_HOST'[/COLOR][COLOR=#007700]]==[/COLOR][COLOR=#dd0000]"ssl-account.com"[/COLOR][COLOR=#007700])[/COLOR][/COLOR]
[COLOR=#000000][COLOR=#007700]{[/COLOR][/COLOR][COLOR=#000000]
[COLOR=#ff8000]// mit SSL-Proxy[/COLOR]
[COLOR=#0000bb]define[/COLOR][COLOR=#007700]([/COLOR][COLOR=#dd0000]'WP_SITEURL'[/COLOR][COLOR=#007700], [/COLOR][COLOR=#dd0000]'https://ssl-account.com/meinedomain.de'[/COLOR][COLOR=#007700]);[/COLOR]
[COLOR=#0000bb]define[/COLOR][COLOR=#007700]([/COLOR][COLOR=#dd0000]'WP_HOME'[/COLOR][COLOR=#007700], [/COLOR][COLOR=#dd0000]'https://ssl-account.com/meinedomain.de'[/COLOR][COLOR=#007700]);[/COLOR]
[COLOR=#007700]}[/COLOR]
[COLOR=#007700]else[/COLOR]
[COLOR=#007700]{[/COLOR]
[COLOR=#ff8000]// Ohne SSL-Proxy[/COLOR]
[COLOR=#0000bb]define[/COLOR][COLOR=#007700]([/COLOR][COLOR=#dd0000]'WP_SITEURL'[/COLOR][COLOR=#007700], [/COLOR][COLOR=#dd0000]'http://meinedomain.de'[/COLOR][COLOR=#007700]);[/COLOR]
[COLOR=#0000bb]define[/COLOR][COLOR=#007700]([/COLOR][COLOR=#dd0000]'WP_HOME'[/COLOR][COLOR=#007700], [/COLOR][COLOR=#dd0000]'http://meinedomain.de'[/COLOR][COLOR=#007700]);[/COLOR]
[COLOR=#007700]} [/COLOR][/LEFT]
[/COLOR]
[COLOR=blue]Eingetragen ist das Ganze direkt vor diesen Kommentaren:[/COLOR]
[COLOR=blue]/* That's all, stop editing! Happy blogging. */[/COLOR]
[COLOR=blue]/** Absolute path to the WordPress directory. */[/COLOR]
Ich weis nicht wo genau soll man das einfügen. In der config.php bei mir sieht es so aus:
<?php
[COLOR=blue]define[/COLOR][COLOR=red]('DB_NAME', 'name');[/COLOR]
[COLOR=blue]define[/COLOR][COLOR=red]('DB_USER', user');[/COLOR]
[COLOR=blue]define[/COLOR][COLOR=red]('DB_PASSWORD', 'pas');[/COLOR]
[COLOR=blue]define[/COLOR][COLOR=red]('DB_HOST', 'mysql9.1blu.de');[/COLOR]
An dieser Stelle habe ich eingefügt, hat nicht funktioniert. Dann habe ich an der Stelle [COLOR=blue]define[/COLOR][COLOR=red]('DB_HOST', 'mysql9.1blu.de');[/COLOR]
Auch ohne Erfolg. Kann mir jemand sagen, wie ich das richtig mache?
Viele Grüße!