remove "/product/" from woocommerce code example Example: completely remove woocommerce define( 'WC_REMOVE_ALL_DATA', true );