wp-media / wp-rocket-cli

WP CLI interface for the WP Rocket plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

import is not working if the file is not hosted locally

DahmaniAdame opened this issue · comments

The wp rocket import command is not working if the file is not hosted locally:

wp rocket import --file=https://example.ext/wp-rocket/wp-rocket-settings-example.ext-date-hash.json

Temporarily fixed on the customer's website using:

wget https://example.ext/wp-rocket/wp-rocket-settings-example.ext-date-hash.json -P /tmp/ && wp rocket import --file=/tmp/wp-rocket-settings-example.ext-date-hash.json

Ticket - https://secure.helpscout.net/conversation/2051344086/377921/