• Hot
  • Top
  • New
1
votes

You have ... votes left in this category for this week!

approved

Add friendly URLs to FWW

Dave Hilditch shared this feature

March 6, 2018

Add friendly URLs for attributes. Can use URL rewrites to implement this and when option is selected, send users to full friendly URL.

  1. Add URL rewrites to rewrite from slug of attribute to parameterised search.
  2. Add option to backend admin screen to enable friendly URLs
  3. URL structure needs to be unique – e.g. /product-category/clothing/brand/paul-smith/. If 2 or more attribute filters (brands) are selectable, some identifier is required e.g /product-category/clothing/f/brand/paul-smith/guess/ – otherwise there could theoretically be a brand called ‘brand’ which would break things.
  4. Ensure canonical URL points to the friendly URL
  5. Add friendly URL output into widget links

Tickets: 111367

9 Comments

  1. Santiago V.
    April 4, 2018 @ 12:51 pm

    I like this, but I think this might have an impact on cache, am I right?

    Reply

    • David H.
      April 4, 2018 @ 1:03 pm

      Which cache do you mean? Your existing page-cache? Yes – but for some cache systems it would actually be better. Some caching systems refuse to cache parameterised queries, so friendly URLs would allow those to be cached.

      Reply

  2. David H.
    April 26, 2018 @ 4:09 pm

    Some extra info from another ticket:

    Is it possible to add seo friendly urls for a woocommerce brand attribute filter (in Faster Woo Widgets)? Can it be done with ‘Enable Archives’ option for an Attribute in Woocommerce? I need domain.com/product-category/mens-shoes/nike instead of domain.com/product-category/mens-shoes/?filtering=1&filter_brand=2.

    It should appear in the first place while using with another filters:
    /product-category/clothing/brand/paul-smith/&filter_flavour=160
    instead of something like this:
    /product-category/clothing/&filter_flavour=160/brand/paul-smith/

    Reply

  3. Krzysztof T.
    July 9, 2018 @ 1:21 pm

    Any updates on this?

    Reply

    • David H.
      August 29, 2018 @ 3:30 pm

      Developer diary/schedule coming out soon, looking like september for this.

      Reply

  4. Krzysztof T.
    August 23, 2018 @ 9:49 am

    Any updates?

    Reply

    • David H.
      August 29, 2018 @ 3:21 pm

      Not yet. There’s a developer schedule going to be released shortly which will make it clear when this will be added. It’s the number 1 priority for this plugin. It should be done inside September, once we’ve got the schedule nailed down.

      Reply

  5. Cris
    September 3, 2018 @ 2:15 pm

    It would be great to have an option to hide unnecessary slugs (attribute names) like: brand, gender, color etc.

    so instead of:
    /product-category/shirts/brand/paul-smith/
    /product-category/shirts/gender/mens/
    /product-category/shirts/gender/mens/color/white

    we will have:
    /product-category/shirts/paul-smith/
    /product-category/shirts/mens
    /product-category/shirts/mens/white

    Many shops do it this way and it works.

    Reply

    • David H.
      September 6, 2018 @ 4:31 pm

      Ok cool – I’ll make sure there’s an option to make it work this way. The main issue is to ‘disambiguate’ the attribute values, but if they’re always in the same order it should be fine.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *