# BEGIN WordPress RewriteEngine On RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress
Category: Wordpress
WooCommerce Bulk Delete
1. Bulk Delete All Orders DELETE FROM wp_woocommerce_order_itemmeta; DELETE FROM wp_woocommerce_order_items; DELETE FROM wp_comments WHERE comment_type = ‘order_note’; DELETE FROM wp_postmeta WHERE post_id IN ( SELECT ID FROM wp_posts WHERE post_type = ‘shop_order’ ); DELETE FROM wp_posts WHERE post_type = ‘shop_order’; 2. Bulk Delete All Products DELETE FROM wp_postmeta WHERE post_id IN ( SELECT ID…
WP-CLI Import Content
Rather than using the WordPress admin to import a WXR file, you might find it helpful to use WP-CLI instead. By importing with WP-CLI instead of the WordPress admin, you’ll also have additional options available to you, such as skipping certain types of data. Importing WordPress WXR (.xml) Files To perform a simple import of…