Title: Error 404 after saving changes
Last modified: October 13, 2022

---

# Error 404 after saving changes

 *  Resolved [rafaelcb](https://wordpress.org/support/users/rafaelcb/)
 * (@rafaelcb)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/error-404-after-saving-changes/)
 * Hi there! im having trouble while trying to saving changes after inserting a 
   script in headers and footers.
    I need to install google tag manager script but
   when i clic on save changes button, it redirects me to a page not found message.
   When i go back to the plug in- headers and footers, nothing is saved.
 * How can i fix this?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/error-404-after-saving-changes/#post-16098462)
 * Hi [@rafaelcb](https://wordpress.org/support/users/rafaelcb/),
 * Can you please check if you have headers & footers mode only enabled? You might
   need to navigate to the headers & footers page again for an updated link.
 * If that’s not the case, there might be something interfering with the save action
   and redirecting to the wrong page – after you save and get the page not found
   message – what is the URL of that page?
 * Thanks
 *  Thread Starter [rafaelcb](https://wordpress.org/support/users/rafaelcb/)
 * (@rafaelcb)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/error-404-after-saving-changes/#post-16100036)
 * Hello! No, headers and footers mode only is not enabled.
    When i save, it redirects
   me to this URL: [https://www.grupoautomotrizperegrina.com/wp-admin/admin.php?page=wpcode-headers-footers](https://www.grupoautomotrizperegrina.com/wp-admin/admin.php?page=wpcode-headers-footers)
 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/error-404-after-saving-changes/#post-16104786)
 * Hi [@rafaelcb](https://wordpress.org/support/users/rafaelcb/),
 * That URL seems to be correct – is it possible to share a screenshot of what you
   are seeing when the redirect happens?
 * That URL should be identical to the one where you first go to make changes to
   the headers & footers scripts.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error 404 after saving changes’ is closed to new replies.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

## Tags

 * [not saving](https://wordpress.org/support/topic-tag/not-saving/)

 * 3 replies
 * 2 participants
 * Last reply from: [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/error-404-after-saving-changes/#post-16104786)
 * Status: resolved