• 0

fording WordPres to support auto-update in Admin-Panel: define( ?WP_AUTO_UPDATE_CORE?,


Question

good evening dear neowin buddies, hello to you!

 

Well : I am using WordPress on my server which only uses SFTP using an SSH

well  - dear friends: t seems that it cannot write to /wp-content directly. At least it seems to be the point. I guess that this is the cause of the issue. Otherwise i guess that the web server would have write access to the necessary files, it will take care of the updates and installation automatically. This method does not require me to have FTP/SFTP or (even more) SSH access, but it does require me to have specific file permissions set up on your webserver.

the question is: how to do that: how to tell the Web-Server this - and how to set the specific file permissions set up on the webserver?

Which mehthods can be used here!?

in other words: how does the configuration file looks - if i add all the necessary directives to the file?
 
does this help here:  I have a wordpress site up and running. Which steps are needed for the site updates... 

a The plugin
b. The theme
c. The whole wordpress

that said - i still wonder if i can go like so!?

Automatically..( that is when I am trying to get the process started in the dashboard ).?
Heard that I have to do some corrections in the configuration file?! Is that correct? Is that the line that should be corrected?
 

 define( ?WP_AUTO_UPDATE_CORE?, true  

 

note: the question is: is this the only correction i need to do in the config-file!?
 
or do i need to do other things too!?

look forward to hear from you guys

 

greetings

 

Greetings

2 answers to this question

Recommended Posts

  • 0

Try edit wp-config.php and add the following:

define('FS_METHOD', 'direct');
define('FS_CHMOD_DIR',0755);
define('FS_CHMOD_FILE',0644);

That should resolve permission issues on more restrictive hosts to allow auto updating of plugins / themes and even WordPress itself.

  • 0

good day dear insane Nutter

many many thanks - i am so happy. I will try out this.

 

this looks really great

i am glad  - i am so glad.and i hope to get to this "convenience mehtod " of update and install the plugins and tthemes

 

greetings

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.