Regular expression matching URL does not contain a given string set

I need to match all that does not contain /admin/or? page = URL.

I will use it as a redirect rule in the iirf.ini file (htaccess syntax is supported).

How can I do this ?

Use negative lookahead with regular expression OR(a | b) (?!… ):

^(?!.*(/admin/|\?page=))

This means that when at the beginning (^), the input should contain any of the two test strings

I need to match all that does not contain /admin/or? page = URL.

I will use it as a redirect rule in the iirf.ini file (htaccess syntax is supported).

How can I do this ?

Use negative lookahead (?!…) with regular expression OR(a | b):

^(?!.*(/admin/|\?page=))

This means that when at the beginning (^), the input should contain two test characters Any one of the string

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 5467 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.