Title: Cannot Delete a Single Redirect
Last modified: February 28, 2022

---

# Cannot Delete a Single Redirect

 *  Resolved [Stephen Wick](https://wordpress.org/support/users/swick4556/)
 * (@swick4556)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/cannot-delete-a-single-redirect/)
 * Just installed this **301 Redirect** plugin version 2.72 on my WordPress 4.9.7
   site.
    Looks good.
 * I just see one problem right out of the gate.
    After I created my first redirect,
   I could not delete it. I click on the Delete button, I get a confirmation dialog,
   I press OK, and nothing happens.
 * In the browser’s web inspector, the first thing I saw was this GET request for
   [https://ideas.dev45.hallmark.com/wp-admin/options-general.php?page=eps_redirects&delete_redirect=1](https://ideas.dev45.hallmark.com/wp-admin/options-general.php?page=eps_redirects&delete_redirect=1).
   It returned the 301 Redirects web page and the redirect was not deleted.
 * When I click on the Delete button again, I get a different set of symptoms.
    
   I see a POST to [https://ideas.dev45.hallmark.com/wp-admin/admin-ajax.php](https://ideas.dev45.hallmark.com/wp-admin/admin-ajax.php)
   with the following request parameters: action=eps_redirect_delete_entry&_ajax_nonce
   =10f7ac1e18 Then I see a JavaScript error: `Uncaught SyntaxError: JSON.parse:
   unexpected end of data at line 1 column 1 of the JSON data <anonymous> [https://ideas.dev45.hallmark.com/wp-content/plugins/eps-301-redirects/js/scripts.js?ver=4.9.7:195](https://ideas.dev45.hallmark.com/wp-content/plugins/eps-301-redirects/js/scripts.js?ver=4.9.7:195)
   <anonymous> [https://ideas.dev45.hallmark.com/wp-content/plugins/eps-301-redirects/js/scripts.js?ver=4.9.7:189](https://ideas.dev45.hallmark.com/wp-content/plugins/eps-301-redirects/js/scripts.js?ver=4.9.7:189)
   <anonymous> [https://ideas.dev45.hallmark.com/wp-content/plugins/eps-301-redirects/js/scripts.js?ver=4.9.7:177](https://ideas.dev45.hallmark.com/wp-content/plugins/eps-301-redirects/js/scripts.js?ver=4.9.7:177)`
 * Now I can tell from the code in scripts.js line 195 that it was not able to read
   a data-id attribute from the Delete button element.
 * When I manually add the data-id=”1″ attribute too the Delete button (an anchor
   tag), then when I click on the Delete button the redirect is deleted.
 * Hope this information helps you fix this issue quickly.
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/cannot-delete-a-single-redirect/#post-15413997)
 * Hi,
    Since we weren’t able to replicate this on a clean install and did not get
   any similar reports from other users I’d say it’s a conflict with some other 
   plugin (or theme) that’s messing with our admin page; either with HTML or JS.
   Based on the details you gave I can’t say which plugin is it 🙁 So the only solution
   would be to disable them one by one and test. Or give our other plugin a go if
   it’s easier for you – [https://wordpress.org/plugins/301-redirects/](https://wordpress.org/plugins/301-redirects/)

Viewing 1 replies (of 1 total)

The topic ‘Cannot Delete a Single Redirect’ is closed to new replies.

 * ![](https://ps.w.org/eps-301-redirects/assets/icon-256x256.png?rev=2413221)
 * [301 Redirects - Redirect Manager](https://wordpress.org/plugins/eps-301-redirects/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eps-301-redirects/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eps-301-redirects/)
 * [Active Topics](https://wordpress.org/support/plugin/eps-301-redirects/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eps-301-redirects/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eps-301-redirects/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WebFactory](https://wordpress.org/support/users/webfactory/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/cannot-delete-a-single-redirect/#post-15413997)
 * Status: resolved