• Resolved scmsteve

    (@scmsteve)


    I am trying to do an import from a programatically generated JSON file, but it is not respecting the group id, it creates a new group called “Group” with the rules.

    Example:

    {
            "redirects": [
    {
            "url": "^/sourceurl",
            "match_url": "^/sourceurl",
            "match_data": {
                    "source": {
                            "flag_query": "exact",
                            "flag_case": true,
                            "flag_trailing": true,
                            "flag_regex": true
                    }
            },
            "action_code": 301,
            "action_type": "url",
            "action_data": {
                    "url": "/destination/"
            },
            "match_type": "url",
            "title": "Generated redirect rule note",
            "regex": true,
            "group_id": 3,
            "enabled": false
    }
    ]
    }

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.