From 555121c5e9c8e1b72a833dd0b2b2009315ee8488 Mon Sep 17 00:00:00 2001 From: Marcel <110860055+Morethanevil@users.noreply.github.com> Date: Tue, 30 May 2023 23:40:33 +0200 Subject: [PATCH] Created Fixing Wordpress "Mixed content" or "CSP header" errors if you switch to Zoraxy with HTTPS enabled (markdown) --- ...ou-switch-to-Zoraxy-with-HTTPS-enabled.md" | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 "Fixing-Wordpress-\"Mixed-content\"-or-\"CSP-header\"-errors-if-you-switch-to-Zoraxy-with-HTTPS-enabled.md" diff --git "a/Fixing-Wordpress-\"Mixed-content\"-or-\"CSP-header\"-errors-if-you-switch-to-Zoraxy-with-HTTPS-enabled.md" "b/Fixing-Wordpress-\"Mixed-content\"-or-\"CSP-header\"-errors-if-you-switch-to-Zoraxy-with-HTTPS-enabled.md" new file mode 100644 index 0000000..bfc0765 --- /dev/null +++ "b/Fixing-Wordpress-\"Mixed-content\"-or-\"CSP-header\"-errors-if-you-switch-to-Zoraxy-with-HTTPS-enabled.md" @@ -0,0 +1,50 @@ +You already have a running Wordpress site with HTTPS and now it looks messed up since you use Zoraxy? +Then here is a solution for you! + +Now your site looks like this with Zoraxy: + +![wp1](https://github.com/tobychui/zoraxy/assets/110860055/09900779-0845-4c00-8fe7-5451f7775176) +Adminpanel + + +Let´s fix this! We need to edit the wp-config.php file as root user. +Switch to root: + +`sudo su` + +The file is located at the Wordpressweb root (/var/www/html/wordpress). + +`cd /var/www/html/wordpress` + +Sidenote: + +If you use Wordpress in Docker and you used the standard example the file should located at /var/lib/docker/volumes/wordpress_wordpress/_data/wp-config.php + +Open the wp-config.php with nano editor + +`nano wp-config.php` + +Put in these lines after the "