Hey everyone. If you want to post links or discuss the Reddit blackout, please localize it to this thread in order to keep things tidy!

  • PenguinCoder@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Yes, that can be done like so:

    {
        "createdBy": "Redirector v3.5.3",
        "createdAt": "2023-06-01T00:00:00.011Z",
        "redirects": [
            {
                "description": "LemmyML to Sopuli",
                "exampleUrl": "https://lemmy.ml/c/memes ",
                "exampleResult": "https://sopuli.xyz/c/memes ",
                "error": null,
                "includePattern": "^(https?://)([a-z0-9-]*\\.)?lemmy.ml/(.*)",
                "excludePattern": "",
                "patternDesc": "",
                "redirectUrl": "https://sopuli.xyz/$3",
                "patternType": "R",
                "processMatches": "noProcessing",
                "disabled": false,
                "grouped": false,
                "appliesTo": [
                    "main_frame"
                ]
            }
        ]
    }
    

    Copy that to a file, save it and then import into Redirector.