Help with regex redirection
-
hi, is there a way to redirect all the articles except some pages?
I didn’t quite understand how to use regexp, I understand that I should use this example of the documentationRedirect all URLs to / blog / except ones that start with / blog /:
Source: ^ / (?! blog) (. *)
Target: / blog / $ 1only that I should set up multiple pages not to redirect, and the redirect must take place on another url.
for example if I want to redirect all the articles except the “About Us” page, is the following ok?
Source: ^ / (?! about-us) (. *)
Target: https://www.liaf-magazine.it/$1and if in source I wanted to specify other pages how could I do?
Thanks in advance
The page I need help with: [log in to see the link]
- The topic ‘Help with regex redirection’ is closed to new replies.