Are you unable to access your wordpress admin dashboard?? Is any theme or plugin causing issue that broke your site??
Well don’t worry here are two ways you can deactivate the conflicting theme or plugin without admin dashboard access.
Step 1: Getting access to wp-content folder
Method 1 : By using control panel.
If you are using shared or managed vps hosting then you might have some sort of control panel.
Go to your control panel then go to file manager and public_html
In public_html go to wp-content folder. Now you will see mainly 2 folders namely wp-themes, wp-plugins.
Start one by one. Firstly rename the wp-plugins folder. For renaming you can put any character at front or back of it.
If you could access the dashboard or your website then culprit is one of those plugins. If you still couldn’t access then it may be theme. Try installing another theme.
Method 2 : FTP
If you are using a VPS for your website then this method is for you.
Login to your ftp account and then go to public_html folder. You will see a wp-content plugin.
Now go to wp-content folder you will see 2 folders wp-themes, wp-plugins.
Rename the wp-plugins folder. For renaming you can put any character at front or back of it.
Step 2: Finding and fixing the issue
So as you now know one of the plugins is culprit. Now we will check each of them.
So let’s start by renaming back the plugins folder to normal/original.
So you can see all the plugins in you dashboard. Try activating it one by one. Activate one plugin and refresh and visit in another tab. If you could access then that plugin is safe.
Repeat the step until you find the incompatible plugin.
Once you find that try to analyse why it has caused the issue. Try contacting the developer or you can look for another alternatives of it.
In this post we have discussed how to deactivate theme/plugin in wordpress without dashboard or admin panel access. If you have any query do let me know in the comments.