como atualizar wordpress

Como atualizar o WordPress automaticamente sem usar o FTP

Em alguns casos, você não consegue update/upgrade o WordPress e os plugins para uma versão mais recente sem fornecer suas informações de conexão FTP. Este é um problema comum pelo qual o sistema  não pode gravar diretamente na sua pasta/wp-content.

Para resolver esse problema, você precisa definir os detalhes do FTP no seu arquivo wp-config.php para que o WordPress o lembrará. Alternativamente, você também pode fornecer  com acesso de gravação à sua pasta/wp-content acessando o arquivo raiz do FTP e alterando a permissão do arquivo de pasta (CHMOD) para 775 em vez dos 755 e 644 padrão.

No entanto, há uma maneira mais fácil de lidar com isso; definindo constante, FS_METHOD no seu arquivo wp-config.php. Isso evita os prompts recorrentes do WordPress e permite atualizações automáticas de seus arquivos. E é preciso apenas uma linha de código para fazer isso.

1. Abra /wp-config.php

Agora, a primeira coisa que você precisa fazer é abrir o arquivo wp-config.php da sua pasta raiz (você pode acessar este arquivo da sua pasta de instalação). A partir da pasta de instalação, o arquivo está localizado em wordpress/wp-config.php

2. Insira FS_METHOD

Cole o seguinte código no seu arquivo wp-config.php, de preferência logo abaixo de qualquer outra linha de código.

3. Salvar e fazer o upload

Quando você já colou o código de uma linha, você pode fazer o upload do arquivo para a sua pasta raiz do WordPress no seu servidor e deve funcionar imediatamente. O upload pode ser feito diretamente do painel de controle do seu host.


O problema de FTP normalmente ocorre quando você está em hospedagem compartilhada e quando o WordPress está tendo um conflito com permissões e proprietários. Com este método “direto” implementado, você poderá atualizar suas instalações e plugins para versões mais recentes sem ter que fornecer detalhes de FTP.


26 respostas
  1. ultradicas diz:

    Olá pessoal somos do blog ultradicas e gostamos muito de ver o conteúdo do seu blog. Vamos acompanhar mais vezes seu blog porque gostamos muito. Vamos assinar o feed
    equipe ultradicas

  2. Hamish diz:

    Do you mind if I quote a couple of your articles as long as
    I provide credit and sources back to your blog?

    My blog is in the exact same niche as yours and my users would certainly benefit from a lot of the information you present here.
    Please let me know if this ok with you. Many thanks!

  3. Shana diz:

    Pretty section of content. I just stumbled upon your blog
    and in accession capital to assert that I acquire actually enjoyed
    account your blog posts. Any way I’ll be subscribing to your augment and even I achievement you access
    consistently quickly.

  4. Dominique diz:

    Excellent blog here! Also your web site loads up fast!
    What host are you using? Can I get your affiliate link to your host?
    I wish my site loaded up as quickly as yours lol

  5. Helena diz:

    With havin so much content and articles do you ever run into any issues of plagorism or copyright infringement?
    My site has a lot of exclusive content I’ve either written myself or outsourced but it appears a lot of it is
    popping it up all over the internet without my authorization. Do you know any ways to help prevent content
    from being stolen? I’d definitely appreciate it.

  6. Micheal diz:

    Hi there! I could have sworn I’ve visited this website before but after going through
    a few of the articles I realized it’s new to me.
    Anyhow, I’m definitely delighted I came across it and I’ll be book-marking it and checking back

  7. Candice diz:

    Howdy, i read your blog occasionally and i own a similar one and i was just curious if you get a lot of spam comments?
    If so how do you protect against it, any plugin or anything you can advise?
    I get so much lately it’s driving me insane so any support is very much appreciated.

  8. Wilfred diz:

    Hello there! Quick question that’s entirely off topic. Do you know how to make your site mobile friendly?
    My web site looks weird when browsing from my iphone 4.
    I’m trying to find a theme or plugin that might be able to correct this problem.

    If you have any suggestions, please share. Appreciate it!

  9. Danelle diz:

    I was curious if you ever thought of changing the layout
    of your website? Its very well written; I love what youve got to say.

    But maybe you could a little more in the way of content so people
    could connect with it better. Youve got an awful lot of text for only having 1 or two images.

    Maybe you could space it out better?

  10. Sherita diz:

    What i don’t understood is if truth be told how you’re not actually a lot more smartly-favored than you may be now.
    You’re so intelligent. You understand thus considerably when it comes to
    this matter, made me in my view consider it from so many various angles.

    Its like women and men don’t seem to be fascinated unless it’s something to do with
    Lady gaga! Your own stuffs excellent. At all times handle it up!

  11. Sherryl diz:

    Having read this I believed it was rather enlightening.
    I appreciate you finding the time and energy to put this informative article together.

    I once again find myself personally spending a lot of time both reading and leaving comments.
    But so what, it was still worthwhile!

  12. Sherryl diz:

    Hello very cool site!! Man .. Beautiful .. Superb ..
    I’ll bookmark your blog and take the feeds also?
    I am satisfied to search out numerous helpful information right here in the publish, we need develop more strategies in this regard, thank you for sharing.
    . . . . .

  13. Kenneth diz:

    I love your blog.. very nice colors & theme. Did you design this website yourself or
    did you hire someone to do it for you? Plz respond as I’m looking to create my own blog and would like to know
    where u got this from. many thanks

  14. Josefa diz:

    Please let me know if you’re looking for a article writer for your
    weblog. You have some really good posts and I think I would be a good asset.
    If you ever want to take some of the load off, I’d
    love to write some content for your blog in exchange for
    a link back to mine. Please blast me an e-mail if interested.

  15. Aubrey diz:

    Thanks on your marvelous posting! I truly enjoyed
    reading it, you could be a great author. I will be sure to bookmark your blog and definitely will come back from now on. I want to encourage one to continue your great work,
    have a nice day!

Deixe uma resposta

Quer juntar-se a discussão?
Sinta-se à vontade para contribuir!

Deixe uma resposta

O seu endereço de e-mail não será publicado.