WordPress.org

Ready to get started?Download WordPress

Forums

Problem with WordPress Plugin directory (4 posts)

  1. biggs
    Member
    Posted 5 years ago #

    Sir,

    New to the forum. Its a great place to be and i love it.

    Well, its my own fault but then i need some help. Actually, i mistakenly deleted the /wordpress/wp-content/plugin from my Ftp ( Filezilla) and all the plugins in my wordpress blog where automatically deleted.

    1) When i tried to upload a new plugin, i get this error message....> "Unable to locate WordPress Plugin directory. Installation Failed."

    2) I did create a new plugin directory on my ftp but when i double click on "Plugin" , i get this error message .....> Failed to retrieve directory listing. I am totally lost as all my pugins are all gone and i can't upload new ones.

    Could somebody please help me fix this problem.

    Thanks

    Biggs

  2. MichaelH
    Member
    Posted 5 years ago #

    Download the WordPress distribution from the Download tab at the top of this page and extract the files and upload the wp-content/plugins folder from that.

    Also review WordPress Backups so you won't get thrown in a position without backups again.

  3. medsdeb
    Member
    Posted 4 years ago #

    There is a solution from a user here called "mcarretero" post link is here , his fix was to add this code

    if(is_admin()) {
    	add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
    	define( 'FS_CHMOD_DIR', 0751 );
    }

    to the your wp-config.php file. I had the same problem and this fixed it for me.

  4. medsdeb
    Member
    Posted 4 years ago #

    There is a solution from a user here called "mcarretero" post link is here , his fix was to add this code

    if(is_admin()) {
    	add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
    	define( 'FS_CHMOD_DIR', 0751 );
    }

    to the your wp-config.php file. I had the same problem and this fixed it for me.

Topic Closed

This topic has been closed to new replies.

About this Topic