I tried using regex to exclude all products under a woocommerce category like this: /product-category/(.*)
but started giving 404 error on all those product links when starting the warmer.
Am I using regex right ?
Thank you
]]>The sample url: https://mywebsite.com/pxpdflip_stream/204, (where 204 will vary)
The url redirection is defined in the htaccess as:
RewriteRule ^pxpdflip_stream/([^/]+)[/]?$ /wp-content/themes/mytheme/lib/FlipBook/1.0/lib/streamfile.php?ao=$1 [QSA,L]
So far, I have added an entry like this in the ‘Never minify the following pages’ section of ‘Performance > Minify > Advanced’ :
/pxpdflip_stream/.*
But it is not working. The page outputs a 500 error. Once the plugin is disabled, it works fine Can you please help?
PS: I want to exclude these pages from all types of caching.
]]>Hello there,
I need to redirect multiple pages to a single page.
For example from the old website I have:
https://www.domain.it/adrona/sistemi-di-alimentazione-dellacqua-di-rete-da-laboratorio/crystalex/
https://www.domain.it/adrona/sistemi-di-alimentazione-dellacqua-di-rete-da-laboratorio/crystal-7/
https://www.domain.it/adrona/sistemi-di-alimentazione-dellacqua-di-rete-da-laboratorio/crystal-10/
https://www.domain.it/adrona/sistemi-di-alimentazione-dellacqua-di-rete-da-laboratorio/onsite/
https://www.domain.it/adrona/sistemi-di-alimentazione-dellacqua-di-rete-da-laboratorio/q-front/
https://www.domain.it/adrona/sistemi-di-alimentazione-dellacqua-di-rete-da-laboratorio/d-front/
https://www.domain.it/adrona/sistemi-di-alimentazione-dellacqua-di-rete-da-laboratorio/d-front-plus/
And all of them will redirect to a single page
https://www.domain.it/adrona
Which is the correct expression? I've tried regex options and used something like:
old
^/adrona/(.*)
new
https://www.domain.it/adrona/$1
but it does not work.
May you help me with this issue?
Thanks
M
]]>I have this issue where the REGEX I applied to my redirect does not seem to take into account my URL that contains query parameter; despite my regex matching.
The redirect otherwise works well.
Am I missing something? What should I do to remedy my issue?
Note: I am currently working on a local setting.
Thanks!
]]>Have this set up
source: (https:\/\/peterborg.eu\/)\b[a-z0-9\/-]*?(\?review_id=[0-9]+&state=order-linking\b)$
target: /$1order-tracking$2
And its not working. The target url should be: https://peterborg.eu/order-tracking?review_id=32623255&state=order-linking
Seems fine with https://regex101.com/r/BHutHc/1 but still cant understand what im doing wrong
]]>