Automattic / Automattic/wp-super-cache

$cache_path in wp-cache-config.php wont update after migrated to new host

Open
#921 2 comments 0 reactions 0 assignees View on GitHub
[Plugin] Super Cache enhancement
Dominant language
PHP
Stars
436
Forks
130
Avg merge
15h 11m
Merged PRs (30d)
10

Description

I just migrated my website (tyria.in.th) to new hosting. And WP Super Cache can automatically update **WPCACHEHOME** in wp-config.php

Somehow my website still break and show the message as following https://imgur.com/d7hpAVW

It happened to be the old path in former hosting. I dig around and find that there is this variable **$cache_path** in **wp-cache-config.php line 31** still using old path and didn't get update when WP Super Cache update **WPCACHEHOME** in wp-config.php and it cause whole website to break

This line need to be updated manually with new wp-content path to fix the problem.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with wp-cache-config.php at line 31 and trace how WPCACHEHOME is updated in wp-config.php during a host migration. Verify the cache path after changing the hosting path, and consider the existing test entry points if available; the issue is done when the new wp-content path is used without manual editing.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, performance
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.