WordPress is one of the most secure blogging tools that are hard to break. Imagine a situation where you lost access to your WordPress website and got stuck with no option to enter into your WordPress dashboard.
So, here backdoors come into focus which help you to gain access to your website in this situation.
If you design website for other peoples, you should always create a backdoor to their WordPress dashboard. So, if they stuck in such situation then you can get the access back and make an impact on them.
In this post I will be telling you “How you can create backdoor in a WordPress website?”.
How you can create a backdoor in WordPress website?
Step 1 : Go to your WordPress admin panel and then to Theme editor section. Now open functions.php file.
Step 2 : Add the following code to that functions.php file
Step 3 : Save the file and leave it as it is.
If you choose to leave the code as it is, all you need to do is create a new admin on the site. You can do this by visiting http://www.yourdomain.com/?gatekeeper=opengate.
Once the page has loaded, type in your new username in “champhub” and password in “demo1221.”
You can, of course, make this change in the code itself by changing the ‘champhub’ and ‘demo1221’ to anything of your choice. You can also change the link to your back door by changing ‘gatekeeper’ or/and ‘opengate’ to anything you want.
Thanks for reading the post. If you have any suggestions or have any questions then please leave them in comment, I will answer then as soon as possible.
Also, share this post with your friends and followers on social media. 🙂
Previous Post :
Thanks for reading our post. Keep sharing and spreading the knowledge.
Abhishek Verma is a web developer. He loves designing and developing new things. He started ChampHub to share his knowledge about WordPress with the whole world .