Unable to add Wordpress plugin - wordpress

Unable to add wp plugin. It shows an error on page.screenshot

This may be due to the FTP permissions.
Check if the web user has sudo permision to install plugin inside wp-content/plugin folder.
Else the next method is download plugin from wordpress repository and unzip. Then upload inside wp-content/plugin
then go to plugins section on wp backend and click activate

Related

I am redirected to my site homepage when I login using mysite/wp-admin instead of getting to the wordpress admin page

I am getting redirected to my website homepage when I login to the admin area in Wordpress or I get an error message saying 'Sorry, you are not allowed to access this page'
I just migrated my website from one host provider to another using the All in One WP migration plugin. I was able to access the admin area but once the backup, I am either being redirected to my homepage or getting the above error when I try to login. I have already tried to create a new user with admin privileges, modified the wp-config and htaccess files and even updating and changing the prefixes of the database. I have also tried disabling the plugin and theme files and none of them seem to work.
I just want to be able to login to the admin area of my WordPress site.
In such cases the steps I follow to resolve this case are:
Set .htaccess with only the default WordPress redirect rules, which you can check here.
Set the default TwentyNineteen theme as active. Since you do not have access to your admin dashboard you can perform this change by altering the "template" and "stylesheet" rows in your application database which both are located in the "_options" table.
The other option is via SSH. From the WordPress root directory you can execute the following command, which will change the currently active theme to TwentyNineteen:
wp theme activate twentynineteen
NOTE: No matter which option you choose the TwentyNineteen theme should be installed. If you have other WordPress default theme installed rather than TwentyNineteen, you can switch to it.
Deactivate all of the plugins. This can also be performed in two ways without access to the admin dashboard. The first option is to rename the wp-content/plugins folder to:
wp-content/plugins-backup
The other option is once again via the WP CLI tool with the next command:
wp plugin deactivate --all
Another NOTE: In order to use the WP CLI tool, please note that the same should be installed on the server. If you write the command and the terminal respond is:
-bash: wp: command not found
Or something similar ending with "command not found" this means that the tool in question is not installed. In this case you will be unable to use the WP CLI tool or you can ask your hosting provider to install this tool for you.
In my experience with this issue, after all of these changes are performed the access to the admin dashboard is restored. If the issue still persist even after the changes are applied, I would recommend you to contact your current host provider in order to understand if they have any custom Web Application Firewall (WAF) rules, default plugins/optimizations that could cause such issue.

Hosted the website in godaddy. How to create wordpress web-site?

We have a domain hosted in godaddy. The web-site works fine without any issues.
Now we would like to use wordpress and wordpress themes and plugin to build the web-site
How do install or deploy wordpress in godaddy?
Thanks.
In godaddy, there is an option for one click install wordpress.
Or
If you want to install wordpress manually follow the below steps :
Download and unzip the WordPress package if you haven't already.
Create a database for WordPress on your web server, as well as a MySQL (or MariaDB) user who has all privileges for accessing and modifying it.
(Optional) Find and rename wp-config-sample.php to wp-config.php, then edit the file (see Editing wp-config.php) and add your database information.
Upload the WordPress files to the desired location on your web server:
Run the WordPress installation script by accessing the URL in a web browser. This should be the URL where you uploaded the WordPress files.
For more details see this link click here

Wordpress install plugin redirect me to dashboard

When finding a plugin and clicking on install now, I am being redirected to the dashboard and can't install the pluging. Happen when I try to upload the plugin zip too.
download plugin and put extract it into your WordPress plugins directory and then go to wp-admin then plugin and activate .
You have to check in your browser console, may be it is server timeout issue due to plugin large file size. then you have to increase timeout limit in your server. or have to install plugin manually.

Alternate way to install plugins in wordpress

I am running wordpress on my local using Web Matrix. I am trying to install "Types - Custom Fields and Custom Post Types Management." plugin. But this is taking forever I am seeing message "Installing Plugin Types - Custom Fields and Custom Post Types Management (1/1)" from last one hour. The problem is I am not even getting error or installation fail notification. Anybody faced this kind of issue? and Is there any other way to install this plugin instead of doing it from UI available?
Hi TolerantCoder,
if you are not able to install plugins from admin than you can download plugins from wordpress plugins Directory than extract zip file and add in you wordpress project plugins directory.
I.e: D:\wamp\www\citicollege\wp-content\plugins\
in plugins directory you can copy paste plugins and activate from admin.

git clone and new permissions

I have a repository on github with preset wordpress with a few plugins. I cloned it into my mamp folder to start working on a new project. However something is wrong with the file permissions. During WordPress installation wp could not create wp-config file, so I had to create it manually and when saving it requested an admin password to do so. If I want to update a plugin while in the admin area of this new wordpress site it requires ftp credentials, while if I go to another site in the same mamp folder I can click update and the plugin is updated. I checked the permissions for both wordpress site folders and they are 755. My question is what could trigger such behavior with permissions and how can it be prevented in the future?

Resources