Added new WordPress site on GCP with Marketplace. Publishing fails. Link cloaker fails - wordpress

In Launching WordPress installation, in GCP, I cannot post with the error "publishing failed.". I tried both without updating and with updating to WP 5.4.1. I am having a hell of a time deploying WordPress in GCP. The permalinks don't work and I change the timezone, i am guessing or set the Site URL to vetsforweed.net and updated the A record at my Namecheap DNS to the external ip. sometimes the site locks up and I have to delete the vm instance and redploy. I have installed WordPress at least 10 times trying to get a working installation.
I switched to the classic Editor, I am able to publish. the post uses the permalinks setting of Post name: and it tells me the post link is : http://34.73.194.87/petition for a post titled "Petition" and I get a 404 Not found. I had done Settings...Permalinks to Post name:. I am so stuck!
What a nightmare! I cannot get anything to work with WordPress 5.4.1, no posts show up with a permalink. I cannot even click the date to see the post. It does show up in the list of Posts. Argg!
Is WordPress 5.4.1 known to be broken? What can I do to get a WordPress site up and running well? I appreciate you for your assistance.

I switched to loading WordPress Certified by Bitnami and Automattic and this worked, completely. So far. Now I have to import a WP export that is 136MB. Firs, I will deploy WordPress Certified by Bitnami and Automattic there.
Thanks for assistance.

Related

Open /wp-json response with "forbidden_access"

I installed a customer project on my local machine.
I want to create a new REST API route.
On the live website, i can see the wp-json data.
But when i call the wp-json on localhost, i get this message:
I have a couple of wordpress websites on localhost and everyone work without any problems. Instead of this wordpress installation. I already uninstalled all plugins and the message still appear.
Has anyone an idea to solve this problem?
This could be a permalink issue, go to Settings > Permalinks and change the setting to "Post name" and save settings, then check if you get the same issue or not.

After updating my Wordpress site manually(Using FTP), on my wordpress dashboard I still get a "An updated version of WordPress is available."

After updating my Wordpress site manually (Using FTP), at my wordpress dashboard I still get a "An updated version of WordPress is available." As seen in the image. Please how can I get rid of it. Thank you
You can get the version number of your WordPress website by accessing your site via FTP and checking the file wp-includes/version.php. At the beginning of that file, you will see the real version number of the website, for example:
$wp_version = ‘5.6.2’
You can also check the releases category archive for what is the latest version.
https://wordpress.org/news/category/releases/

WordPress images and pages broken after host migration

I have created a WordPress site (my first) but since moving the site to a new domain all the images and pages/posts are broken and return a 404 error. Ive ran search and replace but it doesn't seem to have worked.
www.phoenixworldwideent.com
Manual website migration is very difficult to do. So you can transfer your website in few minutes without any issues using duplicator plugin. you just need to installed the plugin and followed the installation wizard.
you can read or watch step by step video tutorial HOW TO CLONE WEBSITE TO NEW HOST USING WORDPRESS DUPLICATOR
Go to your dashboard, log in, go to settings.
Change the following:
Site Address
Wordpress Address
Save. That should work.
did you try save permalinks some times the problem happen because permalinks need update
other point if you can go to old site and use this plugin to move your site agin
https://wordpress.org/plugins/duplicator/
It turns out there were some issues with the httpd.conf file and httpaccess files. The permalinks and database details were correct. I got this outsourced in the end so not 100% sure what the issue was but I shall update this post with more info when I get it :)

WHM and Wordpress

First of all sorry for my bad English but isnt my first language.
I own a dedicated server that uses Whm. I installed approximately 30 wordpress in accounts. Suddenly i cant upgrade wordpress via Whm for users. Error message is:
Site Software cPanel::Blogs::WordPress
This is a cPanel packaged module. (v1.04)
Website WordPress
Requires MySQL 5 or newer.
Could not prepare working directory: No such file or directory
I used also wpremote.com application but again i am not able to upgrade wordpress. How can i disable wordpress update via Whm and to update them via wordpress administration?
You need to have MySQL v5.x or higher. In WHM, search "MySQL" or under the Software list, look for "MySQL/MariaDB Upgrade". Once that page is open, select the version you need to upgrade to, hit Next, and this will guide you through the installation.
This is issue if you install wordpress using WHM or Cpanel. When you install wordpress using WHM/ Cpanel it install default plugin in your wordpress. now when you want to update wordpress version from cpanel this plugin will work as communicator between cpanel/WHM but problem is this plugin will not work if you updated your default theme.
solution simply deactivate your cpanel plugin in your wordpress plugin management and update wordpress setup from your site.

Running Wordpress code obtained from Github repo

I'm collaborating with a friend on a Wordpress blog for work, whose code is on a Github repo, and is hosted on Amazon EC2.
I have never used Wordpress before, so this question might sound dumb to experts ...
Question : how do I preview my changes to the blog ? Once I make a change to the code (after I have cloned the repo from Github) what shall I run locally so I can see the blog as it would be if I had done the change online through my Wordpress account ?
I can't start anything until I'm up and running, any help would be highly appreciated.
Thanks !
Unless you change the code of your Wordpress blog you only change the content of your database which is possibly on the same EC2 instance as the blog. If you want to see the same locally you will have to set up the same blog on your local machine and add the same posts locally.
But iirc you can preview blog posts in Wordpress so you don't need to test them locally. Just don't publish your posts.

Resources