By danteisrael
Hi there, -I created a droplet using the WordPress one-click installation on ubuntu 18.04 -I secured it with SSH Keys. -I secured my site with SSL certificate from Let’s encrypt -Prior to that, I created a virtual host file and moved the site to a virtual host folder, following these tutoials:
Finally, I managed to enable secure WordPress updates, following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu
Everything OK so far. (I’m able to update WordPress; install activate and deactivate plugins, upload images, install activate and deactivate themes.)
The only problem I have is that I’m unable to write content on WordPress (create or update entries or pages). Whenever I try to create or update any content on my WordPress admin, it fails. I cannot even save my drafts.
The console of my browser shows 404 errors and it seems it have to do with this . api-fetch.min.js?ver=2.2.5:1
At first, I thought it was something to do with permissions, but I discarded that since I gave 755 permissions to the www-data user and www-data group to the host folder and indeed I must have access from my wp admin page (otherwise, I wouldn’t be able to upload images or install and activate plugins)
I think my trouble has something to do with the virtual host I created. Something I didn’t configure properly,
I tried setting up my .htaccesss file, following this tutorial https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory (without url change)
Nothing has worked so far. So frustrating… what am I doing wrong?
Please, I’d deeply appreciate your help.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey friend,
If I had to guess, I’d bet that your Wordpress site URL is misconfigured. Check out this guide and make sure that the URL is configured properly in the instance:
https://codex.wordpress.org/Changing_The_Site_URL
Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.