How to Resolve “Are You Sure you want to do this?” WordPress Error!

resolving wordpress errors

About 2 days and 5 re-installs. That was what it took me to find a solution to a problem that not too many sites were able to help me with.

For a moment I felt like Captain Jack Sparrow. I remember his dialogue, “You know the feeling you get when standing in a high place, the sudden urge to jump..” That was how I was feeling.

WordPress can be a pain, when you don’t know how to resolve a problem. For most of my problems with WordPress, I would go to WP Beginner. They had a solution there to the problem as well, but that too didn’t resolve the problem.

“Are you Sure you want to do this” WordPress Error

Okay! So let me tell you the problem. I have multiple blogs that I manage. I also build new blogs very frequently as part of my own business and also for my clients. To manage all this, I use “WP Pipeline”, which is a plugin that gives me a central dashboard on one of my blogs and from there I can manage all my other blogs.

It also has an option of mass installing plugins and themes and that is what I use to build newer blogs.

I had registered this new domain and I wanted to install wordpress on it along with all of my favorite plugins. You see.. it is a pain installing all of those plugins and then the theme, more so if it is the same kind of plugins that you install every time on all of your blogs.

I had set-up everything right. I clicked on, “install” and….

are you sure you want to do this

I am sure you would have seen this error, quite a lot of times. Probably that is why you are here.

Onto the solution now, if nothing else works..

STEP – 1: In the Settings option, under General, check what is the url of your website.

STEP – 2: Check if the URL is the same, from where-ever you are trying to access the file.

STEP – 3: If the error is when you are trying to upload media files, check if the URL for the upload location has the same URL.

And that’s it.

That should resolve the problem.

What is the Cause of “Are You Sure You Want to Do This” Error?

WP Beginner had written about this problem and the cause that he had mentioned was right. This is what Syed had mentioned in the blog post –

This error usually occurs when WordPress checks for Nonce in an admin url and the check fails. Nonce are unique keys or numbers which can be generated by a theme, plugin, or a core WordPress file for verification purposes. Nonces add a security layer to protect WordPress URLs, forms, and ajax calls from abuse.

This is precisely what was happening in my case. But the cause was the usage of an incorrect URL. My wordpress blog was

Did you note that there was no www. in the domain name?

And I was trying to remote access the blog with a URL, which was why I was getting the error.. 🙂

Complex Problem, Simple Solution!

Don’t forget to tell me if this resolves the problem by commenting. Also share this post if you think this will help somebody else.