WP All Import manual Cron

You can try like this: wget -q -O /dev/null “https://example.com/wp-load.php?import_key=123xyz&import_id=YOURID&action=trigger” From the documentation Each import has two cron URLs – a trigger URL, and a processing URL. The trigger URL will look something like this: http://YOUR-WEBSITE.com/wp-load.php?import_key=[YOUR_SECRET_KEY]&import_id=[YOUR_IMPORT_ID]&action=trigger The processing URL will look something like this: http://YOUR-WEBSITE.com/wp-load.php?import_key=[YOUR_SECRET_KEY]&import_id=[YOUR_IMPORT_ID]&action=processing You can find your secret key on the All Import … Read more

WooCommerce Product URL re-writing

This should work: add_action( ‘init’, ‘wpse33551_rewrites_init’ ); function wpse33551_rewrites_init(){ add_rewrite_rule( ‘product/.+\-([0-9]+)?$’, ‘index.php?post_type=product&p=$matches[1]’, ‘top’ ); } The filter function is changing the permalink to like product/my-product-name-88. You just need to tweak the regex in the second function to deal with that pattern. The regex is: product/ – matches the literal string product/ .+ – matches one … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)