I am using this module with Search API for the first time and the links in my facet are still built with /taxonomy/term/1/... and not the term alias.
Moreover, when I click the links the facet block desappear.
Did I miss something ?
Thank you

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lima2x’s picture

Any help ?
It looks like an issue with Pathauto term names.
Thank you

dasjo’s picture

have you enabled pretty paths at admin/config/search/facetapi_pretty_paths ?

lima2x’s picture

Hi Dasjo,
Thank you for your answer.
Yes, I enabled Pretty path then I configured SearchAPI facets and the URL alias to standard path.
My site is bi-lingual with Internationalization i18n.

dasjo’s picture

it seems like the path contains both the non-pretty + the pretty path. there must be something wrong when detecting the base path.

could you do some dpm() around here:
http://drupalcode.org/project/facetapi_pretty_paths.git/blob/refs/heads/...

also i'd be interested in the urls that you are coming from. say try it once without any selected facet and then with a facet being selected

lima2x’s picture

FileSize
13.32 KB

Here is the path before facet selection of previous post.
I would be pleased to help but how shall I do some dpm() ?

dasjo’s picture

dpm() is a function provided by the devel module that you can use to output any variable. short on time because of drupalcon :)

dasjo’s picture

dasjo’s picture

Category: bug » support

i'm changing this to a support request.
for more background info on base paths, see #1861786: Fix base path issues

lima2x’s picture

Thank you for your answer, I will have a look at this post.

dasjo’s picture

how's your progress? can you please summarize your findings / current state?

dasjo’s picture

Status: Active » Fixed

marking as fixed due to inactivity

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.