I have created a redirection in .htaccess file for specific condition:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^page/(.*) /clanky/?sf_paged=$1 [R=301,L]
</IfModule>
Example:
someone clicks on this link: https://example.com/page/2/ and they will be redirected to: https://example.com/clanky/?sf_paged=2/
This scenario works perfectly.
Now I need to make an exception for the case if a link will be: https://example.com/page/2/?s=zemedelec - (the excluding condition should be /?s=), in this case I don't want to use any redirection.
Any idea, how to make this exception?