The domain name is provided by different Host server websites like GoDaddy. Here for learning purposes, I purchased a free domain from the most preferred provider called freenom. (https://www.freenom.com) First, sign in to the GCP account Network services → cloud DNS → Create DNS Zone ADD RECORD SET → With and without WWW.[Text Wrapping Break] Freenom… Continue reading Purchasing a Domain name and pointing to GCP
Category: Wordpress
Setup Free SSL for WordPress on Google Cloud (Click-to-Deploy)
Connect to WordPress via SSH Go to your Google Compute homepage and click the hamburger menu ( upper left-hand corner) → Compute Engine → VM Instance → SSH. 2. Check Operating System lsb_release -a 3. Generate Certificate Instructions Navigate to certbot.eff.org and select Apache from the Software dropdown, then select the correct operating system based… Continue reading Setup Free SSL for WordPress on Google Cloud (Click-to-Deploy)
Solution for Invalid key in SSH – GCP
Error: Invalid key. Required format: <protocol> <key-blob> <username@example.com> or <protocol> <key-blob> google-ssh {“userName”:”<username@example.com>”,”expireOn”:”<date>”} Try the following steps: Realign the ’rsa-key-<value>’ section. Cut and paste the rsa-key-20210820 to the first position of the key. Add username(mail id) to the end section of key value. Try out these methods with different combinations. Replac the Key Comment Textbox… Continue reading Solution for Invalid key in SSH – GCP
Google Cloud FTP Setup with FileZilla
Download PuTTY and FileZillaPuTTY is an SSH client and Key generator. This application is used to generate a private/public key and establish a secure connection between your GCP instance and Filezilla.FileZilla is the FTP Client that we will use to securely manage our Google Cloud Website’s files straight from our Desktop. Generate SSH Keys Followed… Continue reading Google Cloud FTP Setup with FileZilla
Steps to Host WordPress on GCP
STEP-1: Sign in to your google cloud console. Email verification Mobile number verification Address and account details verification Received mail after step 3: Next step is to verify the account. Mail received After verification: STEP-2: Create the first project Select new project Clicked → ‘ Go to your Console ’ Created a new project ‘My Trial… Continue reading Steps to Host WordPress on GCP
How to Fix FTP Permission Errors on Google Cloud
First, Give permission to the admin in GCP. http://jobinandjismi.in/how-to-add-permissions-for-the-user-in-iam-in-gcp/ Basically, we need to follow 6 steps to rectify the issue. They are: Identify Error Permission denied errors occur when you don’t have the required permissions to make changes to a file that you’re trying to edit over FTP. 2. Connect to VM InstanceTo fix the problem,… Continue reading How to Fix FTP Permission Errors on Google Cloud
How to add permissions for the user in IAM in GCP
Some Basic Roles need to add for getting permission to access the GCP resources. Cloud Asset Owner Data Labeling Service Admin DataBase Migration Admin Data Pipelines Admin Cloud DataStore Import Export Admin Cloud FileStore Editor IAP Policy Admin IAP Settings Admin Owner (This access can only given by GCP account owner) Cloud Run Admin Service… Continue reading How to add permissions for the user in IAM in GCP
Blog related WP-functions
Some useful WordPress functions used for Blog Development: get_post_permalink() To get the post link get_permalink($post->ID)To get the corresponding Blog link get_the_post_thumbnail_url(get_the_ID())To get the post thumbnail image URL get_the_title()To get the Title of the Post get_the_excerpt()To get the expert Text
Featured Post/Sticky Post Customization in WordPress
To customize a Blog Sticky Post, we must first locate and fetch the sticky post. Steps to Fetch Sticky Post Sticky posts are setting through the option ‘Stick to the top of the blog’, which is available from the right side of the post page.Check or uncheck to set the sticky post. If we set… Continue reading Featured Post/Sticky Post Customization in WordPress
Search by Title in WordPress
The below-given script structure can be used for the implementation of Search by Title in WordPress. Reloading the section to avoid page reload.