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 Create the Website Customer Center Role

Go to Setup > Users/Roles > User Management > Manage Roles (Administrator). Click Customize next to the Customer Center role. In the Name field, enter a name for your custom Customer Center role.For example, Website Customer Center. In the Subsidiaries field, select the subsidiary your website is associated with. Click the Permissions subtab. On the Transactions,  Lists, and  Setup subtabs, click the name of the task for which… Continue reading How to Create the Website Customer Center Role

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

HTML input field non-white spacing validation

In certain situations, there comes some validation to disallow white spaces in input filled. The below-given regex can use for such validation. The above-given Regex shows invalid if, there exists any white space in the input field value. If you want to validate the non-whitespace only for the starting and ending position of the input… Continue reading HTML input field non-white spacing validation