Skip to content

Remove hostnames when CDN is deactivated #63

@tobias992

Description

@tobias992

Is your feature request related to a problem? Please describe.
When i use "wp rocket cdn --enable=false" WP-Rocket doesn't remove the hostname. When i re-enable the CDN later, the site is broken because there are 2 hostnames in settings (because i use random urls like cdn2244423.domain.com).

Describe the solution you'd like
Also delete hostnames when use "wp rocket cdn --enable=false".

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions