Options included in the SEO section allow the admin to improve indexing when using filters, both to avoid common problems, such as duplicated content, and to allow changing URLs used for filters.
- Enable SEO option: enable to make the meta tag “robots” appear in the tag <head> of the page, in case there is an active filter;
- Meta tag: select which tag to use on filtered pages by choosing from disabled; noindex,nofollow; noindex,follow; index, nofollow and index,follow;
- Add “nofollow” to filter anchors: enable if you want to add the attribute
rel=”nofollow” to all the filter anchors across the plugin.
If you have chosen to show results on the same by using Ajax through the option Show results in the General settings tab, a new option will show.
- URL permalinks: choose how to manage the page permalinks from; Use plugin customized permalinks, Add filters parameters to default URL, or keep the URL unchanged.
By selecting Use plugin customized permalinks, the URL will have a fixed length and will redirect directly to the filtered page. This can be useful, for example, for sharing purposes.
By applying filters with the option Use plugin customized permalinks enabled, regardless of the number of filters selected, the URL will be similar to this: https://example.com/shop/filter_session/FCWNQZ3J2H and when visiting this URL, you will find the page just like it was filtered.
On the contrary, by applying filters with the option Add filters parameters to default URL, the filtered page will have an URL similar to this: https://example.com/shop/?yith_wcan=1&product_cat=accessories&filter_color=black&query_type_color=or&filter_materials=leather&query_type_materials=or