grappler / polylang-slug

A unique post slug within the language in Polylang. This allows for a page to have same/identical slug in multiple languages.
275 stars 84 forks source link

Prevent redirects by filtering the SQL queries #6

Closed swissspidy closed 9 years ago

swissspidy commented 9 years ago

This reintroduces the polylang_slug_filter_queries function to allow for /fr/blog, /it/blog and of course /blog/.

This should fix #5 (and maybe even #1?).

grappler commented 9 years ago

Thanks, from the testing I did it seems to work. I was testing with polylang_slug_filter_queries before and it did not seem to work.