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!
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!
Is there a way for the extension to replace only the domain? for example, https://lemmy.ml/c/memes will become https://sopuli.xyz/c/memes ?
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.