Closed realAzazello closed 9 months ago
/redirects/
(or /\/redirects\//
) should work.
Make sure that the URL you are trying to block really contains redirects
(not redirect
or Redirects
).
@iorate, I wish you hadn't closed this before getting my feedback.
Make sure that the URL you are trying to block really contains redirects (not redirect or Redirects).
I already wrote that I confirmed that:
Doing a gsearch: https://www.google.com/search?q=%22redirects%22 5. Tried `/redirects/` -- never worked, even with earlier Firefox versions
In fact
/redirects/
is what triggered my investigation--months ago--as I knew it never worked on my setup.
Eureka! /\/redirects\//
works...
But also triggers on
https://experienceleague.adobe.com/docs/analytics/technotes/redirects.html?lang=en
https://www.searchenginejournal.com/redirects-beginner-guide/436231/
https://bluehost-cdn.com/hosting/help/redirects
https://www.geoedge.com/auto-redirects/
I'll live with it, but I wish to have the exact /redirects/
, hard-match on both /
Expected Behavior
I must be missing something so simple in the regex.
I'ld like to block results with
/redirects/
in the path e.g. :https://docs.example.com/routing/redirects/
Anywhere in the path, middle or end.
As test, have only these rules:
Actual Behavior
Doing a gsearch: https://www.google.com/search?q=%22redirects%22
Still shows results.
Steps to Reproduce the Problem
*://*/redirects/*
-- doesn't work in my setup/redirects/
-- never worked, even with earlier Firefox versionsSpecifications