WordPress

WordPress is a popular, free and open-source web content management system based on PHP and MySQL.

WordPress subscription active
You will receive email notifications for new publications on WordPress.
2010 Results
  • Question

    Restore the server with the button inside the droplet configuration and now the apache, mysql and ssh services do not start

    One day I needed to restore the server due to a problem that occurred with the wordpress that I had installed that was disabled and needed a quick solution. I gave him the option to restore from the droplet control pa...
    Accepted Answer: Assuming you’re on Ubuntu, systemctl enable apache2 mysql Link for references. https://linuxconfig.org/how-to-start-service-on-boot-on-ubuntu-20-04 Ps: MySQL is dead, I highly recommend using mariadb instead. All MyS...
    2 By stiven8as Ubuntu 18.04 PHP WordPress Backups
  • Question

    404 Not Found nginx/1.10.0 (Ubuntu)

    Hi guys, I install wordpress on Lemp on 16.04 ( this was installed using the via DO droplet) following this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lemp-on-ubuntu-16-...
    Accepted Answer: Make sure you have your WordPress site stored in /var/www/html and set correct permissions on /var/www/html and it's content. To check, the following simple ls command will do the job: command ls -ld /var/www/html Al...
    7 By mishfaq WordPress Nginx Ubuntu 16.04
  • Question

    Wordpress automatically installed on droplet without permission; can't remove files.

    Somehow WordPress was automatically installed on one of my client's droplets (or at least the files – I don't see a WP database) on-top of an existing website (not wordpress). I was able to delete/move most of the fil...
    Accepted Answer: Update: After reviewing the log files, I concluded that the system had been hacked via malicious php scripts. The scripts essentially installed components of Wordpress, as well as additional hidden php files in 'asset...
    3 By CCM WordPress
  • Question

    How to upgrade PHP 7.0.33 to 7.4.7 on Ubuntu 16.04 (NGINX)?

    My server configuration (DigitalOcen): * 4GB RAM | 80 GB Disk * Ubuntu 16.04 x64 (NGINX) - WordPress Current PHP version: 7.0.33 * Reason to upgrade: WordPress Error - PHP Update Required Kindly help. Thank you!
    Accepted Answer: Hi @chinmayrajyaguru, You can actually upgrade the PHP version, you can just install a new one. Firstly, to be able to install a certain PHP version, in this case, 7.2 you'll need to add a certain repository to your ...
    2 By chinmayrajyaguru Ubuntu 16.04 Nginx PHP WordPress
  • Question

    How to change caching_sha2_password to mysql_native_password on a DigitalOcean's Managed MySQL Database?

    I want to use the new DigitalOcean MySQL Managed Databases with my PHP application but I'm getting this error here: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; con...
    Accepted Answer: Hello, The easiest way to fix that would be to alter your existing user with the following: ALTER USER <^>myuser <^>IDENTIFIED WITH mysql_native_password BY '<^>mypassword<^>'; Another thing that you could do is to ...
    6 By bitmap Databases MySQL PHP WordPress
  • Question

    Wordpress: The uploaded file could not be moved to wp-content/uploads/

    Hey guys, I'm having an issue with not being able to upload media onto the wordpress site. Plugins update and install normally, but if i try to upload a pic for a post, it gives me the error "The uploaded file could n...
    Accepted Answer: |Solution!| So basically after having a head-ache with permissions and ownership, I came across the final solution. I have a secure ftp user called 'wp-user' which I got from the tutorial here (https://www.digitaloce...
    5 By Irvinlesh DigitalOcean WordPress Apache Ubuntu
  • Question

    "sudo apt-get update" command is not working

    Hello! <^>Error log<^> ``` Last login: Fri Jul 1 00:56:49 2016 from XXX.XXX.XXX.XX root@xxx:~# sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] Hit:2 http://nyc2.mirrors...
    Accepted Answer: @chinmayrajyaguru There's a few things we can do in an effort to resolve this. First, I'd clean up the lists for apt-* by running: sudo rm -rvf /var/lib/apt/lists/* The above command removes all files and directori...
    3 By chinmayrajyaguru Nginx LEMP WordPress DigitalOcean Ubuntu 16.04
  • Question

    How to setup domain and sub-domain to different hosting providers

    Hello, Current situation: My domain: www.example.com which is with 'BigRock', which has nameservers connection to the 'HostGator'. Now, I want to point www.blog.example.com sub-domain to 'DigitalOcean'. Expected outpu...
    Accepted Answer: Hello, @suchakmaulik179 If your domain name is using Hostgator's nameservers than all DNS changes need to be made from their control panel, because the active DNS zone is there. If you made DNS changes for your domai...
    1 By suchakmaulik179 WordPress DNS Networking Apache PHP
  • Question

    Reseting WordPress admin password via the command line (terminal)

    I've seen this question a lot where people have forgotten their WordPress admin password and they don't remember their email in order to use the "Lost Password" feature. The password can be changed/reset from MySQL/Ma...
    Accepted Answer: First you need to identify the table responsible for storing WordPress user accounts. Usually the table that stores all user information is <^>wp_users<^> but you may have different database prefix so you can check yo...
    2 By alexdo WordPress MySQL MariaDB
  • Question

    Potential Security Risk Ahead Error on non-www urls

    My issue is when I open my website without WWW then it doesn't redirect to https://www.admecindia.co.in, in result page doesn't open up and shows 'Security Error' like this: ``` Warning: Potential Security Risk Ahead ...
    Accepted Answer: Hi there @ravibhadauria143, It looks like that your Let's Encrypt was issued only for the www version of your domain name. I would recommend issuing a new SSL certificate which would include both the non-www and the w...
    1 By ravibhadauria143 WordPress Ubuntu
  • Question

    Best way to install wordpress and rails on same domain

    I have an nginx droplet with a rails app on it - I now need to add a wordpress site (as the landing pages to sit in front of my app. Im nervous about having wordpress and (my current app):'rails and elasticsearch and ...
    Accepted Answer: Hello, @christopherT If you think that the droplet can handle both applications without any issues you can go ahead and install WordPress on the same droplet. However if you would like to keep things separate you can...
    1 By christopherT WordPress Ruby on Rails Nginx
  • Question

    WordPress site compromised before completing installation

    I was just starting out with setting up my WordPress website (LEMP stack), and I left my site on the /wp-admin/install.php page for me to continue the next day. When I checked on it today, it was installed without me,...
    Accepted Answer: Hi there @NoodlesYum, If this was a fresh new Droplet, I would recommend deleting it and deploying a new one, as the person who finalized the installation for you might have uploaded a backdoor and it would be quicker...
    1 By NoodlesYum Security WordPress Nginx
  • Question

    Connection Refused to my Website (only on my IP/Network, on browser only)

    I was making minor content changes to my Wordpress website (standard Ubuntu 18.04 droplet WordPress setup), and suddenly all my requests from my browser to are refused. Apparently, this only occurs to devices connecte...
    Accepted Answer: I realized somehow my IP address was banned with fail2ban. It worked after removing all fail2ban bans.
    2 By lichunshang WordPress DNS Firewall Ubuntu Apache
  • Question

    How to improve mysql for wordpress in ubuntu 18?

    I have had a lot of problems loading batch images in wordpress, I have read that there are ways to solve it by improving the database cache, how can I do it? I have seen other posts here but they talk about ubuntu 14 ...
    Accepted Answer: Hi @stiven8as, Let's review a few things before you go to your MySQL. The first big issues would be the size of the images, how big are they? If you have images with a size of 4,5,6,7 MB it will take time until they l...
    1 By stiven8as Ubuntu 18.04 WordPress Apache MySQL
  • Question

    Wordpress Droplet upgrading the server? Will it break things?

    So i have a wordpress droplet with ubuntu 18.04.4 LTS as the server and I'm planning to upgrade to the latest ubuntu 20.04 LTS. Will it break things on my server? Should I wait for things to be fixed and bunch of stuf...
    Accepted Answer: Hello, @omegadion As with almost any upgrade between major releases of an operating system, this process carries an inherent risk of failure, data loss, or broken software configuration. Comprehensive backups and ext...
    1 By omegadion Ubuntu 20.04 WordPress
  • Question

    '/proc/kcore' file is (apparently) 128T

    Hi, since a couple of weeks I have an unstable Wordpress site on a DigitalOcean droplet. The actual WP backup file is about 150MB. After investigating file sizes (df -h) it turns out that '/dev/vda1/' has used 20G (of...
    Accepted Answer: Hi @olivervogt, I'll recommend finding out which service is using this process and restarting it. The process itself can't hold 128T of space due to the fact the droplet doesn't have as much. As for the space issue, w...
    1 By olivervogt WordPress Ubuntu
  • Question

    How to Add SubDomain and Install WordPress on LiteSpeed One Click Installation?

    Hi, Please help me, I already did search tutorial on how to add subdomain and install the wordpress on subdomain. Yes, I know how to add sub-domain from DigitalOcean and Cloudflare But not familiar with how to make it...
    Accepted Answer: Hi @RockViju, Please check doc here (https://docs.litespeedtech.com/cloud/images/wordpress/#how-do-i-create-additional-virtual-hosts) if you want to create a new virtual host for the subdomain and install wordpress o...
    2 By RockViju WordPress
  • Question

    Wordpress droplet not working

    My website does not work consistently. First and foremost, let us say that this is my first website ever. I have followed all the instructions I could find on DigitalOcean and I have also browsed the questions, but no...
    Accepted Answer: After lots of stress and random blind attempts, I managed to fix my website! If anyone is also struggling with this, here is what was wrong for me: 1) I did not have a DNS entry for my website with www. in front. Sol...
    2 By giugiatroisi WordPress Initial Server Setup DNS
  • Question

    Digital Ocean Firewall Port Forwarding

    Hello, I've managed to secure website I believe with the increasing support from Digital Oceans Firewall so the website is accessible, but doing this has shut off access to server access (SSH), including ports 2083, a...
    Accepted Answer: Hey @indigobsk, I don't think that this is yet possible with the DigitalOcean firewalls, but it sounds like a great idea, it'd be super useful! The best thing to do to get your voice heard regarding this would be to h...
    1 By indigobsk Networking WordPress CentOS
  • Question

    How to force https using .htaccess

    I've used the code from another answer (https://www.digitalocean.com/community/questions/how-to-force-tls-ssl-in-the-wordpress-one-click-app) to edit the .htaccess like so: <IfModule mod_rewrite.c> RewriteEngine On Re...
    Accepted Answer: Hello, @ahaas You can try with some of the following rules: The following forces any http request to be rewritten using https. For example, the following code forces a request to http://example.com to load https://ex...
    1 By ahaas WordPress