WOOF - WooCommerce Products Filter

SEO URL request

From v.2.2.6/1.2.6

This extension allows to convert search parameters into the part of the URL what is very useful for SEO manipulations. WOOF search slug swoof, or custom one, becomes the beginning of the parameters in the URL. Example: https://demo.products-filter.com/swoof/onsale/color-blue/product_cat-man/

Options:

  • Enable/Disable – any WOOF search query becomes part of the URL.
  • Disable page indexing – disables page indexing when WOOF seo search query is.
  • Rules: You can insert predefined literal key {any} into the link, an example: /color-{any}/. For fields title and description – you can insert names of the terms that should be in the search query. For example insert the name of the current color using curly brackets and attribute slug: {pa_color}. To show taxonomy title use predefined literal key: {pa_color_title}. Example: Current season clothes of {pa_color_title} {pa_color}. Rule like “{pa_color_title} {pa_color}” will generate next text: “Color red“. Such rules can use for each language with WPML plugin automatically, for another plugins you can use hook woof_seo_rules_langs .

All WOOF SEO rules are URL based. If there is a match for the URL, the rule is applied:

  • Example: we have shop link /color-red/product_cat-clothing/. You can place predefined literal {any} instead of ‘red‘ –  /color-{any}/product_cat-clothing/ – we got link for any color clothes with its own SEO texts.
    See the screen:

    Meta title: page title text in tag <title></title>
    H1 title: the title text of the page that is displayed in h1[x] tag
    Meta description: page meta description text
  • For all these fields, you can use attribute slug tot generate relevant text:
  • Use curly brackets and attribute slug inside to insert color name into the SEO text. Example: Current season {pa_color} clothes. Rule like “{pa_color_title}: {pa_color}” when filtering by red color will show text: “Color: red“. Such rules can be set for each language with WPML plugin automatically, but for another language switcher plugins you can use hook ‘woof_seo_rules_langs‘:
    add_filter('woof_seo_rules_langs', function ($langs) {
        $langs = array('en_US', 'es_ES');
        //$langs = get_locale();
        return $langs;
    });

More hooks:

Also read: