From e6141b287ff327fdac470a002848b1ce78b95145 Mon Sep 17 00:00:00 2001 From: brmb Date: Tue, 15 Oct 2024 14:44:44 +0300 Subject: [PATCH] feat(fix.sh): Fix htaccess url/path --- fix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fix.sh b/fix.sh index ea09c79..c7824c2 100644 --- a/fix.sh +++ b/fix.sh @@ -514,7 +514,7 @@ function func_malware_fix () { for i in $(wp theme list --skip-themes --skip-plugins --fields=name | grep -v '^name'); do echo -e "-----\n$i\n-----"; wp theme install --skip-themes --skip-plugins --force "$i" --version="$(wp theme list --skip-themes --skip-plugins --name="$i" --fields=version | grep -v '^version')"; done echo -e "\n${YELLOW}Replacing current .htaccess with the default WordPress .htaccess..${NC}" - mv .htaccess .htaccess-OLD-DISABLED && wget -c https://brmb.org/wp-fix/wp-config.txt -O .htaccess + mv .htaccess .htaccess-OLD-DISABLED && wget -c https://brmb.org/wp-fix/htaccess.txt -O .htaccess echo -e "\n${YELLOW}Disabling .htaccess files in main folders..${NC}" mv /wp-admin/.htaccess /wp-admin/.htaccess-OLD-DISABLED && mv /wp-content/.htaccess /wp-content/.htaccess-OLD-DISABLED && mv /wp-includes/.htaccess /wp-includes/.htaccess-OLD-DISABLED echo -e "\n${YELLOW}Deleting .php files in /uploads/ folder..${NC}"