Archived topic
Updating failed in header.php
8 replies · Started by Gupta on August 11, 2021
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
Hi there,
i replied to your original topic here:
Please can we keep the conversation to that topic.
I am setting this as resolved.
don't solve problem
when i work https://docs.generatepress.com/article/hooks-element-overview/ this way and hit publish they show page not found
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.