Connect to server with SFTP instead of FTP/FTPS within WordPress Backup
Looks like a permissions issue: sudo chown -R www-data:www-data /var/www
Looks like a permissions issue: sudo chown -R www-data:www-data /var/www
The code you are referring to is a menu, and in your screenshot, is likely to be the line starting wp_nav_menu… Look in your WP admin under Appearance > Menus, and you should have a Social Media Links menu it seems…
Yes, the plugin @Squideyes suggests you, is perfectly fine, and should do the trick. However, I don’t like the link-to-plugin only answers, so here the mine. If you upload the file to a subfolder of the WordPress uploads folder (by default wp-content/uploads, but can be easily changed) than convert a file from there to an … Read more
I had to also change the owner of the root web directory. chown apache:apache . # or chown apache:apache /var/www/html Edit by Otto: Chloe, as you asked for more information than I could reasonably put into a comment, I’m appending this on to your answer. I hope that is okay. If not, feel free to … Read more
If you have enabled a MultiSite Network, you must first enable each Theme you wish to utilize, under “My Sites”, “Network Admin”, “Themes”.
You can upload your images to your host, and then use media_sideload_image() to upload each file. Let’s assume you upload all of your images to a folder named wpse, in the root of your WordPress installation: // Set the directory $dir = ABSPATH .’/wpse’; // Define the file type $images = glob($directory . “*.jpg”); // … Read more
Posix is a PHP extension rather than part of PHP core. WordPress tries to minimize use of extensions as much as possible in its core. In specific case of Posix one — it has very notable flaw of not being available on Windows platform altogether.
define( ‘FS_METHOD’, ‘direct’ ); solved it.
You can use the WP CLI too to rename your site’s hostname safely and effectively. There’s a chance that your layout is being messed up because naively replacing the domain name with a simple string replace, e.g. perl -pi -e ‘s/oldhost/newhost/g’ backup.sql, will not take into account things like serialized data. Try this on your … Read more
No, there’s no simple connection between your WordPress and FTP access and access to your hosting, whether you mean either shell access to the EC2 instance or access to the AWS dashboard. Even if your FTP account is a real Linux user account, EC2 instances won’t accept password SSH logins by default. You do have … Read more