Hi there , Yesterday everything was fine on my website , I made some changes to functions.php , header.php , entry.php & made some page tempelates months back. But when today I opened my site these files were as they came by default means without any changes. I am not a newbie in wordpress . wp-content permissions are 755 , no one can edit files except me , I am only the administrator then how is it possible ? My all changes are lost , is there anyway to recover those ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Has wordpress automatically updated?
Its possible its overwritten its own files ( Templates should be in their own folder and called from the main wordpress files ) Typically you dont edit the wordpress files themselves.
If wordpress has indeed overwritten it, then unless you have a backup, I guess the files are lost.
When you update a WordPress theme all its files are overwritten with the newer files. That is why you should always use child themes to make changes.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.