Search blog

Sunday, June 28, 2020

[Solved] - How to Find Composer Name of Mageplaza Paid Extensions - Magento 2

How to Find, Extension Name of Mageplaza Paid Extension


Don't know why Mageplaza haven't still listed the composer name of their paid extensions. Look at the comment section of this tutorial: https://bit.ly/2Z9P7jC; you will see users asking for composer name, and still no solution is provided by them. Today I tried posting this solution as a comment in the aforementioned page, and each time my comment got deleted for reasons unknown to me. That's why I have decided to post this solution here.

[Solved] - How to Find, Extension Name of Mageplaza Paid Extension

The solution is very simple. Just download the extension, and look in the composer.json file. You will see a key/value pair entry as follows:
  "name": "mageplaza/module-search"  
Here module-search is the composer name of the paid extension Ajax Search for Magento 2.


NOTE: If you are installing Mageplaza extensions for the first time via composer, make sure to run the following command first:
 $ composer config repositories.mageplaza composer https://repo.mageplaza.com  

Monday, June 22, 2020

Setup WordPress CRON in Cloudways

In this tutorial, I will show you, how to Setup CRON in your Cloudways Hosting Account for WordPress.

1. First you will have to disable WordPress's default CRON.Check this tutorial by Kinsta to know how to do it: https://bit.ly/37RQjvW.

 // Disable WordPress Default CRON  
 define('DISABLE_WP_CRON', true);  

2. Log into your Cloudways account & go to the CRON Configuration page. You can do so by clicking on the following link: https://platform.cloudways.com/apps.



2. Select the App whose CRON you would like to setup.


3.1. Click on Cron Job Management
3.2. On the Cron Job Management page, click on ADVANCED
3.3. Add the following command to setup/enable Manual CRON.
NOTE:
  • Replace http://example.com with the name of your website
  • /5 signifies 5 minutes. You can replace it with 10 minutes or 15 minutes, if you are in a shared host
  • 2>&1 disables email notifications after each CRON run
 */5 * * * *   wget -q -O - http://example.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1  

4. Finally click on SAVE CHANGES.

Manual CRON run should be setup in your site now.

You can install the WP-Cron Status Checker plugin to check whether CRON is running correctly or not.

Top 5 Posts (Weekly)