SEO friendly URLs for faceted search (control indexability by depth/number of filters selected)
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from Pablo Borysenco on April 7, 2023, 10:49Please read docs - https://products-filter.com/extencion/turbo-mode
Turbo mode works effectively if you have a weak server and an average store. The meaning of this option is to transfer part of the load to the client side. If your site has so many taxonomies (this causes a main load) - this is too much load for the device and the server works more efficiently
Please read docs - https://products-filter.com/extencion/turbo-mode
Turbo mode works effectively if you have a weak server and an average store. The meaning of this option is to transfer part of the load to the client side. If your site has so many taxonomies (this causes a main load) - this is too much load for the device and the server works more efficiently
Quote from opace on April 7, 2023, 12:41Thank you, I'll need to test this. Another issue I have is that the SEO rules don't seem to be triggering or displaying the values set. If you look at the admin, I've added several different combinations but nothing seems to be working?
Thank you, I'll need to test this. Another issue I have is that the SEO rules don't seem to be triggering or displaying the values set. If you look at the admin, I've added several different combinations but nothing seems to be working?
Quote from opace on April 7, 2023, 17:49I can only get the rules to work under strange conditions, e.g. for /colour-{any}/, this will only work if I first use a colour filter (nothing changes), but when I clear my filters and try again it shows.
Please can you also let me know where I can find a list of all variables to use? For example, can I dynamically pull in the product category, store name, etc. to display in the H1 and SEO description?
I can only get the rules to work under strange conditions, e.g. for /colour-{any}/, this will only work if I first use a colour filter (nothing changes), but when I clear my filters and try again it shows.
Please can you also let me know where I can find a list of all variables to use? For example, can I dynamically pull in the product category, store name, etc. to display in the H1 and SEO description?
Quote from opace on April 8, 2023, 11:59I've just looked at this again and realised the filters don't even apply the first time. If you select a colour (e.g. pink), the loading overlay shows but the products don't filter. It's only when you "clear all" and try again that they work.
I've just looked at this again and realised the filters don't even apply the first time. If you select a colour (e.g. pink), the loading overlay shows but the products don't filter. It's only when you"clear all" and try again that they work.
Quote from Pablo Borysenco on April 10, 2023, 11:04Hello
Please read this - https://products-filter.com/extencion/seo-url-request
Update wp-admin access
Hello
Please read this - https://products-filter.com/extencion/seo-url-request
Update wp-admin access
Quote from opace on April 11, 2023, 10:40I have read all of that, but it doesn't help with my issue. I've extended your wp-admin access.
"I've just looked at this again and realised the filters don't even apply the first time. If you select a colour (e.g. pink), the loading overlay shows but the products don't filter. It's only when you"clear all" and try again that they work."
Please also confirm about below, specifically non tags/attributes like category, etc:
"Please can you also let me know where I can find a list of all variables to use? For example, can I dynamically pull in the product category, store name, etc. to display in the H1 and SEO description?"
I have read all of that, but it doesn't help with my issue. I've extended your wp-admin access.
"I've just looked at this again and realised the filters don't even apply the first time. If you select a colour (e.g. pink), the loading overlay shows but the products don't filter. It's only when you"clear all" and try again that they work."
Please also confirm about below, specifically non tags/attributes like category, etc:
"Please can you also let me know where I can find a list of all variables to use? For example, can I dynamically pull in the product category, store name, etc. to display in the H1 and SEO description?"
Quote from opace on April 11, 2023, 10:44My dev also confirmed another issue which may be related:
[11-Apr-2023 08:38:31 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WOOF_SEO::set_page_title(), 1 passed in /var/www/vhosts/corcoransfurniture/public_html/wp-includes/class-wp-hook.php on line 308 and exactly 2 expected in /var/www/vhosts/corcoransfurniture/public_html/wp-content/plugins/woocommerce-products-filter/ext/url_request/classes/seo.php:162
My dev also confirmed another issue which may be related:
[11-Apr-2023 08:38:31 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WOOF_SEO::set_page_title(), 1 passed in /var/www/vhosts/corcoransfurniture/public_html/wp-includes/class-wp-hook.php on line 308 and exactly 2 expected in /var/www/vhosts/corcoransfurniture/public_html/wp-content/plugins/woocommerce-products-filter/ext/url_request/classes/seo.php:162
Quote from Pablo Borysenco on April 11, 2023, 11:04Hello
I've just looked at this again and realised the filters don't even apply the first time - Why are you using this option? - https://share.pluginus.net/image/i20230411115606.png - Disable it and everything will work correctly
Don't clone the url, it doesn't make sense - https://c2n.me/4ihgk7n.png - only the first ones will apply.
You can only use dynamic data that is in the search query.
Hello
I've just looked at this again and realised the filters don't even apply the first time - Why are you using this option? - https://share.pluginus.net/image/i20230411115606.png - Disable it and everything will work correctly
Don't clone the url, it doesn't make sense - https://c2n.me/4ihgk7n.png - only the first ones will apply.
You can only use dynamic data that is in the search query.
Quote from opace on April 11, 2023, 11:25Thank you. Category is part of the URL so how do I specify this in the SEO rules? e.g. For https://corc-aws.opacedev.com/sofas-armchairs/swoof/colour-family-pink/
I might want to say something like "See below to browse our [pink] [sofas and armchairs]..." in the SEO text.
Colour applies to most categories on the site and we need a way to dynamically pull this in.
Thank you. Category is part of the URL so how do I specify this in the SEO rules? e.g. For https://corc-aws.opacedev.com/sofas-armchairs/swoof/colour-family-pink/
I might want to say something like"See below to browse our [pink] [sofas and armchairs]..." in the SEO text.
Colour applies to most categories on the site and we need a way to dynamically pull this in.
Quote from opace on April 11, 2023, 11:47Also, see here - https://www.loom.com/share/8a787f3c869340f1a4a5a48c10c2c23f
The SEO rules (e.g. H1) continues to show even after clicking "clear"
Also, see here - https://www.loom.com/share/8a787f3c869340f1a4a5a48c10c2c23f
The SEO rules (e.g. H1) continues to show even after clicking"clear"
Quote from Pablo Borysenco on April 11, 2023, 12:06Category is part of the URL so how do I specify this in the SEO rules? - Great! So try to use it - /sofas-armchairs/swoof/colour-family-{any}/ - See below to browse our {pa_colour-family} sofas and armchairs
There is no other way, as I wrote above, you can only use the values from the search query (not from the url)
OR you can create a custom code with hooks - https://share.pluginus.net/image/i20230411130318.png
The SEO rules (e.g. H1) continues to show even after clicking"clear" - Yes it only happens in ajax mode, it will be fixed in the next version
Category is part of the URL so how do I specify this in the SEO rules? - Great! So try to use it - /sofas-armchairs/swoof/colour-family-{any}/ - See below to browse our {pa_colour-family} sofas and armchairs
There is no other way, as I wrote above, you can only use the values from the search query (not from the url)
OR you can create a custom code with hooks - https://share.pluginus.net/image/i20230411130318.png
The SEO rules (e.g. H1) continues to show even after clicking"clear" - Yes it only happens in ajax mode, it will be fixed in the next version
Quote from opace on April 11, 2023, 12:38You are missing the point. My client has hundreds of categories and we would want to set up around 5-10 rules to cover all categories, not per category.
Your suggestion would mean hard-coding the same basic rule for each category.
What we need is something like this:
See below to browse our {pa_colour-family} {category-name}
Right now using Filter Everything Pro (which we want to replace with Husky), we can do things like:
See below to browse our {pa_colour-family} {archive_title} from {brand}
Regarding your custom code suggestion, this isn't ideal but we can try - can you please provide the code rather than an image?
Thanks for confirming the fix. When we click "clear all", can it just redirect to the original category page so all of the default text is displayed?
You are missing the point. My client has hundreds of categories and we would want to set up around 5-10 rules to cover all categories, not per category.
Your suggestion would mean hard-coding the same basic rule for each category.
What we need is something like this:
See below to browse our {pa_colour-family} {category-name}
Right now using Filter Everything Pro (which we want to replace with Husky), we can do things like:
See below to browse our {pa_colour-family} {archive_title} from {brand}

Regarding your custom code suggestion, this isn't ideal but we can try - can you please provide the code rather than an image?
Thanks for confirming the fix. When we click"clear all", can it just redirect to the original category page so all of the default text is displayed?
Quote from Pablo Borysenco on April 12, 2023, 14:31You can try to use this hook
AN EXAMPLE:
add_filter('woof_seo_request_literals', function($txt){
$cat_name = ""; // use https://developer.wordpress.org/reference/functions/get_queried_object/ to get current category name
$txt['cat_name'] = $cat_name;return $txt;
},999);With this hook you can add any text variable.
You can try to use this hook
AN EXAMPLE:
add_filter('woof_seo_request_literals', function($txt){
$cat_name =""; // use https://developer.wordpress.org/reference/functions/get_queried_object/ to get current category name
$txt['cat_name'] = $cat_name;
return $txt;
},999);
With this hook you can add any text variable.
Quote from opace on April 14, 2023, 12:58Thank you for your continued support.
I now have another query about indexing. From what I can see 'Disable page indexing' doesn't change anything with regards to the meta robots tags or canonical tag.
Whether we have an SEO rule or not, the robots tag is always "index" and the canonical tag simply resolves back to the main category.
For example:
If I add a rule (e.g. /colour-{any}/), I would want the URL to be indexable and the canonical to resolve to https://corc-aws.opacedev.com/armchairs/swoof/colour-family-purple. This way the URL can be indexed in Google. However, right now, that doesn't seem to happen.
If I don't have a rule I would expect either a noindex tag or canonical to resolve to the main category to avoid these being indexed.
Am I missing something?
Also, I requested in my very first message about being able to limit the depth of indexing. Will this be available in the next release? It kind of seems irrelevant though if the canonical tag on filter URLs never resolves to itself.
Thank you for your continued support.
I now have another query about indexing. From what I can see 'Disable page indexing' doesn't change anything with regards to the meta robots tags or canonical tag.
Whether we have an SEO rule or not, the robots tag is always"index" and the canonical tag simply resolves back to the main category.
For example:
If I add a rule (e.g. /colour-{any}/), I would want the URL to be indexable and the canonical to resolve to https://corc-aws.opacedev.com/armchairs/swoof/colour-family-purple. This way the URL can be indexed in Google. However, right now, that doesn't seem to happen.
If I don't have a rule I would expect either a noindex tag or canonical to resolve to the main category to avoid these being indexed.
Am I missing something?
Also, I requested in my very first message about being able to limit the depth of indexing. Will this be available in the next release? It kind of seems irrelevant though if the canonical tag on filter URLs never resolves to itself.
Quote from Pablo Borysenco on April 17, 2023, 10:15Hello
oK! I understood you. In the case of indexing, we should change the canonical link
Hello
oK! I understood you. In the case of indexing, we should change the canonical link
Quote from opace on April 17, 2023, 10:18Yes, but we need a way of controlling this otherwise we could end up with crawl issues due to the many different combinations of filters. This is what Filter Everything Pro does well, please check to see how these handle this as they have various settings to control with rules are indexable and the depth allowed. When will this be implemented as the SEO URLs feature is kind of pointless in my opinion if they can't be indexed.
Yes, but we need a way of controlling this otherwise we could end up with crawl issues due to the many different combinations of filters. This is what Filter Everything Pro does well, please check to see how these handle this as they have various settings to control with rules are indexable and the depth allowed. When will this be implemented as the SEO URLs feature is kind of pointless in my opinion if they can't be indexed.
Quote from Pablo Borysenco on April 17, 2023, 11:49Better describe in more detail what you need (what settings) and I will pass your suggestion to the developers
Better describe in more detail what you need (what settings) and I will pass your suggestion to the developers
Quote from opace on April 17, 2023, 13:05Do you have an ETA for this as we can't use your plugin unless it allows the filter URLs to be indexable in a controllable way?
Here are the screenshots, settings and explanations we are familiar with using Filter Everything Pro -
Mandatory for SEO -
- Filter URLs/rules of our choosing must be indexable and have canonical tags resolve to the full filter URL - this is how we set this currently - https://www.dropbox.com/s/qgp3591tem0p8c7/Screenshot%202023-04-17%20at%2011.53.03.png?dl=0
- Control depth of indexing - see here - https://www.dropbox.com/s/35q0graph9gchxj/Screenshot%202023-04-17%20at%2011.52.57.png?dl=0 and https://www.dropbox.com/s/nbico6i664uo0j0/Screenshot%202023-04-17%20at%2011.52.48.png?dl=0
Nice to have for SEO -
- More control over URL naming and structure, currently we can set the order and prefixes used for filters - https://www.dropbox.com/s/205psn2ffag8u33/Screenshot%202023-04-17%20at%2011.53.14.png?dl=0
- More flexibility over the filters, for example setting SEO data for the page with URL path: /color-blue/size-large/. For this purpose select filters «Color» and «Size» only.
For a more common template for all colour and size values, please choose: «Any Color» and «Any Size». If you need to set SEO data for specific Colours and Sizes, choose specific values like «Blue» and «Large» - see here https://www.dropbox.com/s/602z58j234w3dkh/Screenshot%202023-04-17%20at%2011.54.13.png?dl=0 and https://www.dropbox.com/s/vz2d4def2trpfg6/Screenshot%202023-04-17%20at%2011.54.20.png?dl=0
Hopefully, this all makes sense.
Do you have an ETA for this as we can't use your plugin unless it allows the filter URLs to be indexable in a controllable way?
Here are the screenshots, settings and explanations we are familiar with using Filter Everything Pro -
Mandatory for SEO -
- Filter URLs/rules of our choosing must be indexable and have canonical tags resolve to the full filter URL - this is how we set this currently - https://www.dropbox.com/s/qgp3591tem0p8c7/Screenshot%202023-04-17%20at%2011.53.03.png?dl=0
- Control depth of indexing - see here - https://www.dropbox.com/s/35q0graph9gchxj/Screenshot%202023-04-17%20at%2011.52.57.png?dl=0 and https://www.dropbox.com/s/nbico6i664uo0j0/Screenshot%202023-04-17%20at%2011.52.48.png?dl=0
Nice to have for SEO -
- More control over URL naming and structure, currently we can set the order and prefixes used for filters - https://www.dropbox.com/s/205psn2ffag8u33/Screenshot%202023-04-17%20at%2011.53.14.png?dl=0
- More flexibility over the filters, for example setting SEO data for the page with URL path: /color-blue/size-large/. For this purpose select filters «Color» and «Size» only.
For a more common template for all colour and size values, please choose: «Any Color» and «Any Size». If you need to set SEO data for specific Colours and Sizes, choose specific values like «Blue» and «Large» - see here https://www.dropbox.com/s/602z58j234w3dkh/Screenshot%202023-04-17%20at%2011.54.13.png?dl=0 and https://www.dropbox.com/s/vz2d4def2trpfg6/Screenshot%202023-04-17%20at%2011.54.20.png?dl=0
Hopefully, this all makes sense.
Quote from Pablo Borysenco on April 18, 2023, 10:41Hello
Yes, but I specifically asked for your requests. We are interested in the needs of users and not the functionality of a third-party plugin
I mean, I want to hear from you what you need to work effectively with SEO and we will decide how to add these settings and function to the plugin
Hello
Yes, but I specifically asked for your requests. We are interested in the needs of users and not the functionality of a third-party plugin
I mean, I want to hear from you what you need to work effectively with SEO and we will decide how to add these settings and function to the plugin
Quote from opace on April 20, 2023, 10:03I provided it like this to make things clear with screenshots and gave my explanations of what's needed. Obviously, the requirements can be implemented in any fashion as long as they achieve the goals.
I'll list these again below.
1. Filter URLs/rules of our choosing must be indexable and have canonical tags resolve to the full filter URL - we need a way to control which rules/URLs can be indexed, e.g. we may only want to allow filters with larger search volumes to be indexed but avoid others.
2. Control depth of indexing - we need a way to specify how deep we will allow the crawling/indexing to control the crawl budget e.g.
We might allow a depth of 1 such as a 2 seater sofas - https://corc-aws.opacedev.com/sofas-armchairs/swoof/product_cat-2-seater-sofas/
This would avoid depth 2 and deeper from being indexed, like - https://corc-aws.opacedev.com/sofas-armchairs/swoof/colour-family-black/product_cat-2-seater-sofas/
3. We need more control over URL naming and structure, e.g. rather than product_cat-2-seater-sofas, we might want to set cat-2-seater-sofas, or even better (if possible) 2-seater-sofas-products
4. More flexibility over the filters, for example setting SEO data for the page with URL path /colour-family-black/product_cat-2-seater-sofas/ - in this example, we might want to allow popular colous like black 2 seater sofas, but would want control to not allow pink 2 seater sofas This requirement is less urgent than the others but a nice to have.
Also, as mentioned before, when we click 'clear' filter it needs to show the correct SEO data, i.e. for the regenrated page. When we click 'clear all filters' it should re-load the original/default category page.
I provided it like this to make things clear with screenshots and gave my explanations of what's needed. Obviously, the requirements can be implemented in any fashion as long as they achieve the goals.
I'll list these again below.
1. Filter URLs/rules of our choosing must be indexable and have canonical tags resolve to the full filter URL - we need a way to control which rules/URLs can be indexed, e.g. we may only want to allow filters with larger search volumes to be indexed but avoid others.
2. Control depth of indexing - we need a way to specify how deep we will allow the crawling/indexing to control the crawl budget e.g.
We might allow a depth of 1 such as a 2 seater sofas - https://corc-aws.opacedev.com/sofas-armchairs/swoof/product_cat-2-seater-sofas/
This would avoid depth 2 and deeper from being indexed, like - https://corc-aws.opacedev.com/sofas-armchairs/swoof/colour-family-black/product_cat-2-seater-sofas/
3. We need more control over URL naming and structure, e.g. rather than product_cat-2-seater-sofas, we might want to set cat-2-seater-sofas, or even better (if possible) 2-seater-sofas-products
4. More flexibility over the filters, for example setting SEO data for the page with URL path /colour-family-black/product_cat-2-seater-sofas/ - in this example, we might want to allow popular colous like black 2 seater sofas, but would want control to not allow pink 2 seater sofas This requirement is less urgent than the others but a nice to have.
Also, as mentioned before, when we click 'clear' filter it needs to show the correct SEO data, i.e. for the regenrated page. When we click 'clear all filters' it should re-load the original/default category page.