Site logo

Archived topic

Updating failed in header.php

8 replies · Started by Gupta on August 11, 2021

Viewing posts 1–9 of 9

When I put anything put on <head></head> in header.php file and hit update button they show this massage ( Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP.) how can i solve it

don't solve problem

First off you should restore the Theme, as you have made changes to the theme files, you may have broken something.
You will need to delete the Theme from your server using FTP. Your host company should be able to help with that.
Then reinstall the Theme from the WordPress repository.

if i do this i lost previous dada or keep all data?
and thanks for suggestion

Theme settings are saved in your database. So the theme settings will remain.
Deleting a theme won't affect any of your sites content.

ok thanks

You're welcome.
Once thats resolved, let us know if you still have problems adding your scripts.

This archived topic is closed to new replies.