We have a URL (static asset) for which we’d like to bypass cache. The URL format is:
https://www.mysite.com/?wordfence_lh=1&hid=A993E98B728081BD6BCD7165DD5260B7&r=0.8701140349780445
Will the following formats — using a wildcard (*) — work with your plugin section titled “Exclude URLs from Caching”?
/?wordfence*
/?wordfence_lh=1&hid=*
Details: https://prnt.sc/2rq5GAJrmO3V
Thank you!
]]>hoping you may be able to help.
Our shop page can be filtered by different parameters
format (an attribute)
price (min / max)
artist_involved (a custom taxonomy)
The queries result in URL strings such as
https://www.rarenoiserecords.com/releases/?min_price=5&max_price=10&filter_format=cd&query_type_format=or&artists_involved_filter=animation
I would like sg optimizer not to page-cache any URL containing any the following query strings (no page caching of the URL whether only one or multiple of these strings are included in the URL, whatever the order).
min_price
max_price
artist_involved_filter (way more than 100 involved artists)
so https://www.rarenoiserecords.com/releases/?filter_format=cd;
should be cached, but
so https://www.rarenoiserecords.com/releases/?filter_format=vinyl&artists_involved_filter=adam-rudolph;
should not
(Please note cd, vinyl are two of several possible formats; adam-rudoph is one of hundreds of involved artists : I would like exclusion rules to be of the form ‘=*’, covering all artists or formats, or prices for that matter).
I attempted two solutions, unsuccesfully:
1. I asked optimizer not to cache URLs with *artists_involved_filter=* in the plugin dashboard – the plugin saves this as a rule not to cache URLs with /*artists_involved_filter=* – this results in no page being cached
2. I tried adding
add_filter( 'sgo_bypass_query_params', 'add_sgo_bypass_query_params');
function add_sgo_bypass_query_params( $bypass_query_params ) {
// Add custom query params, that will skip the cache.
$bypass_query_params[] = 'artists_involved_filter=';
return $bypass_query_params;
}
in functions.php, but pages with that string are still being cached.
What am I doing wrong?
Thank you in advance for any comments/suggestions
Giacomo Bruzzo
]]>I’m using Digital Ocean VPS with LiteSpeed cache pre-installed. On our WooCommerce website we’re running Cart Flows for checkout.
I’ve isolated the issue down to Cart Flows and there is just no way to exclude the global checkout URL set in Cart Flows.
Any suggestions?
]]>but when client make a purchase it redirect him to login page, because every THX link is different and have order ID at the end:
https://domain.com/potwierdzenie-zamowienia/order-received/orderID
When I set only https://domain.com/potwierdzenie-zamowienia/order-received it doeasnt work.
This is related with this topic: https://docs.ultimatemember.com/article/1329-content-restriction
]]>I read the articles on how to exclude strings from being translated automatically, but it is not clear to me how to use it.
On my site, I have quizzes under https://www.englishteachers.cz/quizzes/* (such as this quiz) and I would like all sub-pages under */quizzes/* to be excluded from automatic translation (manual translation is possible or could be disabled altogether). Is there a way of achieving it?
I managed to do that with Weglot but was considering buying Translate Press instead if the functionality is there.
Thank you for your help.
Regards,
Jan
]]>We set in the Ultimate Member global settings that the page is only visible for the users who are logged in, then we used another plugin WpForo, and set that WpForo is under https://URL/wpforo link, then I added this url to “Exclude the following URLs”, it works fine, the page is visible for the users who are not logged in, but when the user clicks on a topic, of course URL changes, and it looks like https://URL/wpforo/topic-1/, for example, and we can’t access it, we have to log in.
We want this WpForo page to be visible to users who are not logged in, and who can ONLY view topics/threads. The easiest way would be if you allow wildcards at “Exclude the following URLs”, like https://URL/wpforo/*
, or https://URL/wpforo/(.*)
. But if that’s not possible, and you don’t plan to include this feature, then I want to know if it’s possible with hooks, if so, which hook should we use, and where?
Thanks a lot
Istvan
I have noticed that also my Social Media URL’s got these links. I have fixed them by excluding them
Now, the issue is that each sharing link per post is different. Is there a wildcard option to exclude the sharing urls from it. I like to get rid of the icon on the Social Media Sharing Button.
here is a sample page:
Please scroll down to end of the post to see what I am talking about
Pretty new, i hope you can help
Thanks, Sunantha
I would like to disable specific page on the website. All other pages should be untouched. How can I do that? Thanks!
]]>