I changed my website for a new server and since then I’ve made multiple changes on it.
Now I tried to change this specific file, header.php, and the code is changed (I already confirmed that with the server guys) but it appear an old version of it on the browser (any browser, any computer).
The code to get this file is: include(“header.php”)
The strange thing is that if I change this to include(“wp-content/themes/mytheme/header.php”) it the recent version appears.
Any idea of what is happening or solutions? Thanks in advance.
I solved the problem. It wasn’t any cache problem. I deleted all cache plugins and tried private browsing in Firefox so I could confirm that.
The problem was that someone made a backup of header.php.. in the root.
So when I was calling include(“header.php”) inside my theme folder wordpress was calling the one in the root and not the one in the theme folder.
Thank you for your help.
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".