this post was submitted on 07 Dec 2024
21 points (88.9% liked)

Firefox

20333 readers
65 users here now

/c/firefox

A place to discuss the news and latest developments on the open-source browser Firefox.


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 5 years ago
MODERATORS
 

When I enable this, it redirects to piokok.com/profile/profile/wildcard. I'm not sure how the second profile is added and thus how to prevent it.

top 6 comments
sorted by: hot top controversial new old
[–] tkw8@lemm.ee 3 points 7 months ago* (last edited 7 months ago) (1 children)

I'm unclear where you're redirecting from. If you're looking to redirect from Instagram profile pages to Piokok profile pages, then you'd want something like:

  • Example URL: https://www.instagram.com/linustorvalds
  • Include Pattern: https://www.instagram.com/*
  • Redirect to: https://www.piokok.com/profile$1
  • Choose Wildcard
  • Description: Redirect instagram profiles to Piokok profiles

Edit: for some reason I can't seem to remove the trailing / from www.instagram.com* You don't want the last backslash in that line. Nothing inbetween com*.

[–] sabreW4K3@lazysoci.al 2 points 7 months ago

Thank you so much. It was actually redirecting from piokok as LibRedirect was already redirecting from Instagram, but got it sorted with the RegEx.

[–] Karyoplasma@discuss.tchncs.de 2 points 7 months ago (1 children)

Try putting the type to RegEx and use this pattern: https:\/\/piokok\.com\/(?!profile\/)(.*)

[–] sabreW4K3@lazysoci.al 1 points 7 months ago

Perfect, thank you!

[–] LWD@lemm.ee 1 points 7 months ago* (last edited 3 weeks ago) (1 children)
[–] sabreW4K3@lazysoci.al 1 points 7 months ago

I've got https://www.piokok.com/profile/* in the excluded patterns, but it's not observing it.