{"id":30922,"date":"2021-06-17T07:00:00","date_gmt":"2021-06-17T14:00:00","guid":{"rendered":"https:\/\/dhblog.dream.press\/blog\/?p=30922"},"modified":"2025-05-21T23:43:10","modified_gmt":"2025-05-22T06:43:10","slug":"how-to-fix-wordpress-error-sure-you-want-to-do-this","status":"publish","type":"post","link":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/","title":{"rendered":"How to Fix the \u201cAre You Sure You Want to Do This\u201d Error in WordPress (4 Methods)"},"content":{"rendered":"\n<p>Do you keep getting the \u201cAre you sure you want to do this\u201d error message while working on your WordPress site? You\u2019re probably wondering what\u2019s causing it and if there\u2019s a way to get rid of it. This warning can be very frustrating, as it doesn\u2019t really tell you what the problem is. Plus, it prevents you from performing basic tasks on your site, such as editing blog posts.<\/p>\n\n\n\n<p>The \u201cAre you sure you want to do this\u201d error can happen for several reasons. You may have installed a faulty plugin or theme, or you might be experiencing a security issue. Fortunately, you can determine the exact cause and fix the error in a few simple steps.<\/p>\n\n\n\n<p>In this post, we\u2019ll look at the main causes of the \u201cAre you sure you want to do this\u201d error in WordPress and show you how to fix it using four methods. Let\u2019s get started!<\/p>\n\n\n\n<h2 id=\"h-what-the-are-you-sure-you-want-to-do-this-error-is\" class=\"wp-block-heading\"><span style=\"font-weight: bold;\">What the \u201cAre You Sure You Want to Do This\u201d Error Is<\/span><\/h2>\n\n\n\n<p>The \u201cAre you sure you want to do this\u201d issue usually crops up while you\u2019re performing certain tasks on your WordPress site. For instance, you may be trying to publish a post or customize your theme <a href=\"https:\/\/www.dreamhost.com\/blog\/fix-wordpress-fatal-error-maximum-execution-time-exceeded\/\">when the error message appears<\/a>, preventing you from completing the job.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/06\/7ffb9c35-5df5-422d-a8ef-f88f3c277b4f_How-to-fix-are-you-sure-you-want-to-do-this-wp-DreamHost-7.jpg\" alt=\"The \u201cAre you sure you want to do this?\u201d error in WordPress.\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>WordPress uses security tokens, called <span style=\"text-decoration: underline;\"><a href=\"https:\/\/developer.wordpress.org\/themes\/theme-security\/using-nonces\/\">nonces<\/a><\/span>, to verify that you have the proper permissions to perform a particular action on the site. These nonces help protect your site against hacking attacks. Therefore, when the \u201cAre you sure you want to do this\u201d error message pops up on your screen, it means that WordPress was unable to recognize you as the rightful owner or user of your site.<\/p>\n\n\n\n<p>Various factors can trigger this verification failure. Next, we\u2019ll take a look at the leading causes.<\/p>\n\n\n\n\n\n<div\n\tclass=\"article-cta-shared article-cta-small\"\n>\n    <div class=\"tr-img-wrap-outer jsLoading\"><img decoding=\"async\" class=\"js-img-lazy \" src=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/lazy-loading-transparent.webp\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/article-small-ad-cta-placeholder.webp 1x, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/article-small-ad-cta-placeholder-x2.webp 2x\"  alt=\"Ad background image\" \/><\/div>\n\n\n\n\n  <div class=\"content-btm\">\n    <h2\n      class=\"h2--md\"\n    >\n      Skip the Stress, Outsource to Us\n    <\/h2>\n    <p\n      class=\"p--md\"\n    >\n      Avoid troubleshooting when you sign up for DreamPress. Our friendly WordPress experts are available 24\/7 to help solve website problems \u2014 big or small.\n    <\/p>\n\n            <a\n            href=\"https:\/\/www.dreamhost.com\/wordpress\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Check Out Plans                    <\/a>\n\n  <\/div>\n<\/div>\n\n\n<h2 id=\"h-potential-causes-of-the-are-you-sure-you-want-to-do-this-error\" class=\"wp-block-heading\"><span style=\"font-weight: bold;\">Potential Causes of the \u201cAre You Sure You Want to Do This\u201d Error<\/span><\/h2>\n\n\n\n<p>The&nbsp;\u201cAre you sure you want to do this\u201d error message doesn\u2019t pinpoint exactly what the problem is. However,&nbsp;we can narrow down the issue to a few causes.<\/p>\n\n\n\n<p>Below are four common reasons you may be seeing this error:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You\u2019ve selected an incorrect file when uploading a plugin or theme.<\/li>\n\n\n\n<li>You\u2019re using a plugin or theme with incorrect code.<\/li>\n\n\n\n<li>You need to increase your PHP memory limit.<\/li>\n\n\n\n<li>You\u2019re facing a security issue due to corrupted files.<\/li>\n<\/ol>\n\n\n\n<p>The most likely scenario is a faulty theme or plugin on your site. To figure out what is causing the issue, however, you\u2019ll need to do some troubleshooting.<\/p>\n\n\n\n<h2 id=\"h-how-to-fix-the-are-you-sure-you-want-to-do-this-error-in-wordpress-4-methods\" class=\"wp-block-heading\"><span style=\"font-weight: bold;\">How to Fix the \u201cAre You Sure You Want to Do This\u201d Error in WordPress (4 Methods)<\/span><\/h2>\n\n\n\n<p>Now, let\u2019s go through the four main methods for fixing this common WordPress error. Before proceeding, you may want to perform a <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-back-up-your-wordpress-website\/\">backup of your site<\/a><\/span>&nbsp;just in case something goes wrong and you need to restore an earlier version.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-1-check-your-plugins\"><span style=\"font-weight: bold;\">1. Check Your Plugins<\/span><\/h3>\n\n\n\n<p>As we mentioned earlier, the \u201cAre you sure you want to do this\u201d error could be caused by a faulty plugin on your site. To find out if this is the case, you can deactivate your plugins and reactivate them one by one.<\/p>\n\n\n\n<p>Note that for this step, you\u2019ll need to access your site\u2019s root directory using a&nbsp;<span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/ftp-sftp-guide-for-wordpress-users\/\">Secure File Transfer Protocol (SFTP) client<\/a><\/span>&nbsp;such as <span style=\"text-decoration: underline;\"><a href=\"https:\/\/filezilla-project.org\/\">FileZilla<\/a><\/span> or by logging in to your web hosting account and using the file manager.<\/p>\n\n\n\n<p>If you have a DreamHost account, you can navigate to <span style=\"font-style: italic;\">WordPress<\/span>&nbsp;&gt; <span style=\"font-style: italic;\">Managed WordPress<\/span>&nbsp;in the sidebar, find your domain, and select <span style=\"font-style: italic;\">Manage<\/span>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/06\/9c2d188b-bc56-41e5-a44f-6ed478e199b5_How-to-fix-are-you-sure-you-want-to-do-this-wp-DreamHost-2.jpg\" alt=\"The DreamPress Manage screen.\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>On the next page, click on the <span style=\"font-style: italic;\">Manage Files<\/span>&nbsp;button in the <span style=\"font-style: italic;\">Details<\/span>&nbsp;section. In the file manager, open the folder with your domain name.<\/p>\n\n\n\n<p>In your site\u2019s root directory, locate and open the <span style=\"font-style: italic;\">wp-content<\/span>&nbsp;folder. To deactivate your plugins, you can find the <span style=\"font-style: italic;\">plugins<\/span>&nbsp;folder and rename it to \u201cplugins_test\u201d.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/06\/51979aa2-163a-436d-9d79-0587af3d78f1_How-to-fix-are-you-sure-you-want-to-do-this-wp-DreamHost-1.jpg\" alt=\"Renaming the plugins folder in the site\u2019s root directory.\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>Return to your WordPress site. If the error message doesn\u2019t reappear, you know that a plugin caused the issue.<\/p>\n\n\n\n<p>The next step is to find out which one is the culprit. First, navigate back to your site\u2019s root directory and rename the <span style=\"font-style: italic;\">plugins_test<\/span>&nbsp;folder back to \u201cplugins\u201d.<\/p>\n\n\n\n<p>Next, go to the <span style=\"font-style: italic;\">Plugins<\/span>&nbsp;page in your <a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-keeps-logging-out-error\/\">WordPress dashboard<\/a>. Activate the first plugin, and then check to see if the error is still present. Continue activating them one by one and testing your site until you find the plugin causing the error. Then you can replace it, or reach out to its <a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-hire-web-developer\/\">developer<\/a> for help.<\/p>\n\n\n\n<div class=\"single__related-article\">\n\t<span>Related Article<\/span>\n\t<div class=\"single__related-article__wrap\">\n\t\t<div class=\"single__related-article__title\">\n\t\t\tHow To Create A WordPress Plugin (Beginner\u2019s Guide)\n\t\t<\/div>\n\t\t<a href=\"https:\/\/www-dev.dreamhost.com\/blog\/how-to-create-your-first-wordpress-plugin\/\" class=\"btn btn--sm btn--brand\" target=\"_blank\" rel=\"noopener\">\n\t\t\tRead More\n\t\t<\/a>\n\t<\/div>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-2-switch-to-a-default-wordpress-theme\"><span style=\"font-weight: bold;\">2. Switch to a Default WordPress Theme<\/span><\/h3>\n\n\n\n<p>If deactivating your plugins doesn\u2019t resolve the issue, it\u2019s time to see if your current theme may be to blame. We\u2019ll do this by switching to the default WordPress theme.<\/p>\n\n\n\n<p>Once again, you\u2019ll need to access your site\u2019s root directory. To switch to the default WordPress theme, you can open the <span style=\"font-style: italic;\">wp-content<\/span>&nbsp;folder, locate the <span style=\"font-style: italic;\">themes <\/span>folder, and then rename it to \u201cthemes_test\u201d.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/06\/db61890e-ffdb-4cd7-a0b2-07923b7df72a_How-to-fix-are-you-sure-you-want-to-do-this-wp-DreamHost-3.jpg\" alt=\"Renaming the themes folder in the site\u2019s root directory.\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>After renaming the folder, your site will automatically revert to the default WordPress theme. To see if this solves the problem, return to your site and carry out the same tasks that caused it before.<\/p>\n\n\n\n<p>If the \u201cAre you sure you want to do this\u201d message doesn\u2019t come up, your previous theme must have been at fault. As with your plugins, this means you may need to update or replace your theme (or get in touch with its developer for assistance).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-3-increase-your-php-memory-limit\"><span style=\"font-weight: bold;\">3. Increase Your PHP Memory Limit<\/span><\/h3>\n\n\n\n<p>If disabling your plugins and switching themes didn\u2019t do the trick, the issue might be your <span style=\"text-decoration: underline;\"><a href=\"https:\/\/wordpress.org\/support\/article\/editing-wp-config-php\/#increasing-memory-allocated-to-php\">WordPress PHP memory limit<\/a><\/span>. If your current limit is set too low, it can interrupt certain processes.<\/p>\n\n\n\n<p>There are various ways to go about this. If you\u2019re a DreamHost user, you can <span style=\"text-decoration: underline;\"><a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/214893937-How-do-I-increase-the-PHP-memory-limit\">increase your PHP memory limit<\/a><\/span>&nbsp;by editing your <span style=\"font-style: italic;\">phrc<\/span>&nbsp;file. For other WordPress users, you can go through your <span style=\"font-style: italic;\">php.ini<\/span>&nbsp;or <span style=\"font-style: italic;\">wp-config.ph<\/span>p file.<\/p>\n\n\n\n<p>By default, the limit is set to 256M. However, you can add a line of code to the file to increase the limit. For example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">memory_limit = 300M<\/pre>\n\n\n\n<p>You can choose whatever value you wish. Save the file, and then reload the WordPress page displaying the error to see if this has resolved the problem.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-4-replace-all-your-core-wordpress-files-with-fresh-copies\"><span style=\"font-weight: bold;\">4. Replace All Your Core WordPress Files With Fresh Copies<\/span><\/h3>\n\n\n\n<p>If the above three methods didn\u2019t fix the error, it\u2019s possible that some of your WordPress files became corrupted due to a recent malware or hacking attack. To confirm this, you can replace all of the WordPress core files with fresh copies.<\/p>\n\n\n\n<p>Again, we recommend that you perform a backup of your site first. When you\u2019re done, you\u2019ll need to access your site via an FTP client. While you can also use the file manager in your web hosting account for this method, it will be quicker to replace your site\u2019s files using an FTP client.<\/p>\n\n\n\n<p>In the root directory, locate and download the<span style=\"font-style: italic;\">&nbsp;wp-config.php<\/span>&nbsp;file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/06\/6c9dcc50-e055-4662-a48d-ee15c9d13da2_How-to-fix-are-you-sure-you-want-to-do-this-wp-DreamHost-6.jpg\" alt=\"Downloading the wp-config.php file from the root directory with the FTP client.\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>Next, you can delete all WordPress files and folders in the root directory except for the <span style=\"font-style: italic;\">wp-content<\/span>&nbsp;folder, which contains your plugins, themes, and media. Then download <span style=\"text-decoration: underline;\"><a href=\"https:\/\/wordpress.org\/download\/\">the latest version of WordPress<\/a><\/span>&nbsp;to your computer and extract the <span style=\"font-style: italic;\">.zip<\/span>&nbsp;file.<\/p>\n\n\n\n<p>Locate and copy the<span style=\"font-style: italic;\">&nbsp;wp-config.php<\/span>&nbsp;file you downloaded, and paste it in the extracted WordPress file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/06\/d3808725-c3b8-405b-846e-1bc14b5e9caa_How-to-fix-are-you-sure-you-want-to-do-this-wp-DreamHost-4.jpg\" alt=\"Adding the downloaded wp-config.php file in the WordPress folder.\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>The final step is to upload the WordPress files on your computer to your site. These new files will replace the ones that we deleted in the root directory.<\/p>\n\n\n\n<p>If you\u2019re using FileZilla, select every item in the WordPress file on your computer except the<span style=\"font-style: italic;\">&nbsp;wp-content<\/span>&nbsp;folder, and then right-click and select <span style=\"font-style: italic;\">Upload<\/span>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/06\/3a022881-bce6-483b-b832-fa2764ad4c64_How-to-fix-are-you-sure-you-want-to-do-this-wp-DreamHost-5.jpg\" alt=\"Uploading new WordPress files to your site\u2019s root directory.\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div>\n\n\n<p>The uploading process may take a few minutes. Once it is complete, you can return to your WordPress site, and the error message should be gone.<\/p>\n\n\n\n<h2 id=\"h-additional-troubleshooting-tutorials\" class=\"wp-block-heading\"><span style=\"font-weight: bold;\">Additional Troubleshooting Tutorials<\/span><\/h2>\n\n\n\n<p>Do you want to learn how to resolve other website issues? We\u2019ve put together several tutorials to help you troubleshoot some of the most common WordPress errors:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/common-wordpress-errors\/\">How to Fix Common WordPress Errors<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/troubleshooting-wordpress-white-screen-death\/\">How to Troubleshoot the WordPress White Screen of Death<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-internal-server-error\/\">How to Fix the 500 Internal Server Error in WordPress<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-syntax-errors-wordpress\/\">How to Fix Syntax Errors in WordPress<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-not-sending-email\/\">How to Fix the WordPress Not Sending Email Issue<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-database-connection-error\/\">How to Fix the Error Establishing a Database Connection in WordPress<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-404-error\/\">How to Fix WordPress Error 404 Not Found<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"http:\/\/dreamhost.com\/blog\/how-to-fix-white-text-missing-buttons-wordpress\">How to Fix White Text and Missing Buttons in WordPress Visual Editor<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"http:\/\/dreamhost.com\/blog\/wordpress-sidebar-below-content-error\/\">How to Fix the Sidebar Below Content Error in WordPress<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/what-to-do-when-locked-out-wordpress\/\">What to Do When You\u2019re Locked Out of the WordPress Admin Area<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-memory-limit-error\/\">How to Fix the WordPress Memory Exhausted Error By Increasing Your Site\u2019s PHP Memory Limit<\/a><\/span><\/li>\n\n\n\n<li><a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-upload-failed-wordpress-error\/\">How to Fix the \u201cUpload: Failed to Write File to Disk\u201d Error in WordPress<\/a><\/li>\n<\/ul>\n\n\n\n<p>Meanwhile, if you want more information about setting up and running a WordPress site, check out our<a href=\"https:\/\/www.dreamhost.com\/wordpress\/tutorials\/\">&nbsp;<\/a><span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/wordpress\/tutorials\/\">WordPress Tutorials<\/a><\/span>. There, you\u2019ll find a collection of guides designed to help you navigate the WordPress dashboard like an expert.<\/p>\n\n\n\n<div class=\"article-newsletter article-newsletter--gradient\">\n\n\n<h2>Get Content Delivered Straight to Your Inbox<\/h2><p>Subscribe now to receive all the latest updates, delivered directly to your inbox.<\/p><form class=\"nwsl-form\" id=\"newsletter_block_\" novalidate><div class=\"messages\"><\/div><div class=\"form-group\"><label for=\"input_newsletter_block_\"><input type=\"email\"name=\"email\"id=\"input_newsletter_block_\"placeholder=\"Enter your email address\"novalidatedisabled=\"disabled\"\/><\/label><button type=\"submit\"class=\"btn btn--brand\"disabled=\"disabled\"><span>Sign Me Up!<\/span><svg width=\"21\" height=\"14\" viewBox=\"0 0 21 14\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M13.8523 0.42524L12.9323 1.34521C12.7095 1.56801 12.7132 1.9304 12.9404 2.14865L16.7241 5.7823H0.5625C0.251859 5.7823 0 6.03416 0 6.3448V7.6573C0 7.96794 0.251859 8.2198 0.5625 8.2198H16.7241L12.9405 11.8535C12.7132 12.0717 12.7095 12.4341 12.9323 12.6569L13.8523 13.5769C14.072 13.7965 14.4281 13.7965 14.6478 13.5769L20.8259 7.39879C21.0456 7.17913 21.0456 6.82298 20.8259 6.60327L14.6477 0.42524C14.4281 0.205584 14.0719 0.205584 13.8523 0.42524Z\" fill=\"white\"\/>\n<\/svg>\n<\/button><\/div><\/form><\/div>\n\n\n<h2 id=\"h-banish-this-wordpress-error-message\" class=\"wp-block-heading\"><strong>Banish This WordPress Error Message<\/strong><\/h2>\n\n\n\n<p>The \u201cAre you sure you want to do this\u201d error may prevent you from performing basic WordPress tasks. While a faulty theme or plugin commonly causes it, it can also arise if you\u2019ve reached your PHP memory limit or your site\u2019s facing a security issue.<\/p>\n\n\n\n<p>To resolve the \u201cAre you sure you want to do this\u201d error, you can try these four solutions:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Deactivate your plugins and reactivate them one at a time.<\/li>\n\n\n\n<li>Revert to the default WordPress theme.<\/li>\n\n\n\n<li>Increase your PHP memory limit.<\/li>\n\n\n\n<li>Replace all WordPress core files with fresh copies.<\/li>\n<\/ol>\n\n\n\n<p>Troubleshooting WordPress issues can be time-consuming. If you want to spend less time dealing with WordPress errors, you might want to consider <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.dreamhost.com\/wordpress\/managed\/\">switching to DreamPress<\/a><\/span>. Our managed WordPress hosting plans come with full technical support for site owners, as well as daily backups to help keep your content safe.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Do you keep getting the \u201cAre you sure you want to do this\u201d error message while working on your WordPress site? You\u2019re probably wondering what\u2019s causing it and if there\u2019s a way to get rid of it. This warning can be very frustrating, as it doesn\u2019t really tell you what the problem is. Plus, it [&hellip;]<\/p>\n","protected":false},"author":1056,"featured_media":30930,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_yoast_wpseo_metadesc":"The \u201cAre You Sure You Want to Do This\u201d error in WordPress is usually caused by a faulty plugin\/theme or a corrupted file on your website. Learn 4 ways to fix this.","toc_headlines":"[[\"h-what-the-are-you-sure-you-want-to-do-this-error-is\",\"<span style=\\\"font-weight: bold;\\\">What the \u201cAre You Sure You Want to Do This\u201d Error Is<\/span>\"],[\"h-potential-causes-of-the-are-you-sure-you-want-to-do-this-error\",\"<span style=\\\"font-weight: bold;\\\">Potential Causes of the \u201cAre You Sure You Want to Do This\u201d Error<\/span>\"],[\"h-how-to-fix-the-are-you-sure-you-want-to-do-this-error-in-wordpress-4-methods\",\"<span style=\\\"font-weight: bold;\\\">How to Fix the \u201cAre You Sure You Want to Do This\u201d Error in WordPress (4 Methods)<\/span>\"],[\"h-additional-troubleshooting-tutorials\",\"<span style=\\\"font-weight: bold;\\\">Additional Troubleshooting Tutorials<\/span>\"],[\"h-banish-this-wordpress-error-message\",\"<strong>Banish This WordPress Error Message<\/strong>\"]]","hide_toc":false,"footnotes":""},"categories":[13127,550,696],"tags":[],"class_list":["post-30922","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-errors-troubleshooting","category-tutorials","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Fix WordPress Error \u201cAre You Sure You Want to Do This\u201d - DreamHost<\/title>\n<meta name=\"description\" content=\"The \u201cAre You Sure You Want to Do This\u201d error in WordPress is usually caused by a faulty plugin\/theme or a corrupted file on your website. Learn 4 ways to fix this.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix the \u201cAre You Sure You Want to Do This\u201d Error in WordPress (4 Methods)\" \/>\n<meta property=\"og:description\" content=\"The \u201cAre You Sure You Want to Do This\u201d error in WordPress is usually caused by a faulty plugin\/theme or a corrupted file on your website. Learn 4 ways to fix this.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/\" \/>\n<meta property=\"og:site_name\" content=\"DreamHost Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DreamHost\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-17T14:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-22T06:43:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/06\/19080d99-ed0e-4062-a6d8-6fca9717918d_WP-error-are-you-sure_opt.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"598\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Natasha K\u00f6stlin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:site\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Natasha K\u00f6stlin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Fix WordPress Error \u201cAre You Sure You Want to Do This\u201d - DreamHost","description":"The \u201cAre You Sure You Want to Do This\u201d error in WordPress is usually caused by a faulty plugin\/theme or a corrupted file on your website. Learn 4 ways to fix this.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix the \u201cAre You Sure You Want to Do This\u201d Error in WordPress (4 Methods)","og_description":"The \u201cAre You Sure You Want to Do This\u201d error in WordPress is usually caused by a faulty plugin\/theme or a corrupted file on your website. Learn 4 ways to fix this.","og_url":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/","og_site_name":"DreamHost Blog","article_publisher":"https:\/\/www.facebook.com\/DreamHost\/","article_published_time":"2021-06-17T14:00:00+00:00","article_modified_time":"2025-05-22T06:43:10+00:00","og_image":[{"width":900,"height":598,"url":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2021\/06\/19080d99-ed0e-4062-a6d8-6fca9717918d_WP-error-are-you-sure_opt.jpg","type":"image\/jpeg"}],"author":"Natasha K\u00f6stlin","twitter_card":"summary_large_image","twitter_creator":"@dreamhost","twitter_site":"@dreamhost","twitter_misc":{"Written by":"Natasha K\u00f6stlin","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/#article","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/"},"author":{"name":"Natasha K\u00f6stlin","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/a11265c416f588308d99b3c978da2448"},"headline":"How to Fix the \u201cAre You Sure You Want to Do This\u201d Error in WordPress (4 Methods)","datePublished":"2021-06-17T14:00:00+00:00","dateModified":"2025-05-22T06:43:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/"},"wordCount":1680,"publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/06\/19080d99-ed0e-4062-a6d8-6fca9717918d_WP-error-are-you-sure_opt.jpg","articleSection":["Errors &amp; Troubleshooting","Tutorials","WordPress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/","url":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/","name":"How to Fix WordPress Error \u201cAre You Sure You Want to Do This\u201d - DreamHost","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/#primaryimage"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/06\/19080d99-ed0e-4062-a6d8-6fca9717918d_WP-error-are-you-sure_opt.jpg","datePublished":"2021-06-17T14:00:00+00:00","dateModified":"2025-05-22T06:43:10+00:00","description":"The \u201cAre You Sure You Want to Do This\u201d error in WordPress is usually caused by a faulty plugin\/theme or a corrupted file on your website. Learn 4 ways to fix this.","breadcrumb":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/#primaryimage","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/06\/19080d99-ed0e-4062-a6d8-6fca9717918d_WP-error-are-you-sure_opt.jpg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2021\/06\/19080d99-ed0e-4062-a6d8-6fca9717918d_WP-error-are-you-sure_opt.jpg","width":900,"height":598},{"@type":"BreadcrumbList","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-wordpress-error-sure-you-want-to-do-this\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dhblog.dream.press\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix the \u201cAre You Sure You Want to Do This\u201d Error in WordPress (4 Methods)"}]},{"@type":"WebSite","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website","url":"https:\/\/www-dev.dreamhost.com\/blog\/","name":"DreamHost Blog","description":"","publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www-dev.dreamhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization","name":"DreamHost","url":"https:\/\/www-dev.dreamhost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","contentUrl":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","width":1200,"height":168,"caption":"DreamHost"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DreamHost\/","https:\/\/x.com\/dreamhost","https:\/\/www.instagram.com\/dreamhost\/","https:\/\/www.linkedin.com\/company\/dreamhost\/","https:\/\/www.youtube.com\/user\/dreamhostusa"]},{"@type":"Person","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/a11265c416f588308d99b3c978da2448","name":"Natasha K\u00f6stlin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2020\/10\/Natasha-bio-pic-150x150.jpg","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2020\/10\/Natasha-bio-pic-150x150.jpg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2020\/10\/Natasha-bio-pic-150x150.jpg","caption":"Natasha K\u00f6stlin"},"description":"After joining the DreamHost team in 2018, Natasha discovered her talent for helping people achieve website success. Her superpower: a warm, energetic attitude! As a key player in DreamHost\u2019s international marketing efforts, Natasha is excited to help readers across the world build and grow an online presence.","url":"https:\/\/www-dev.dreamhost.com\/blog\/author\/natashakostlin\/"}]}},"lang":"en","translations":{"en":30922,"es":30932,"pl":52082,"ru":53910,"pt":53915,"de":53929,"uk":53975,"it":68989,"fr":71569,"nl":71601},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/30922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/users\/1056"}],"replies":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/comments?post=30922"}],"version-history":[{"count":10,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/30922\/revisions"}],"predecessor-version":[{"id":61578,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/30922\/revisions\/61578"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media\/30930"}],"wp:attachment":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media?parent=30922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/categories?post=30922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/tags?post=30922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}