• Hi,
    I found out that Bogo rewrite rules conflicts with custom rewrite rules. Everything is ok with default language. Below an example.

    Custom rewrite rule: ^photogallery/([^/]*)/([^/]*)/photographer/([^/]*)/?$
    If URL is ‘photogallery/123/dumb-text/photographer/username’ everything works fine
    If URL is ‘it/photogallery/123/dumb-italian-text/photographer/username’ gives error 404.

    Using Query Monitor plugin I can see that the matching regex is ‘(de-AT|de-DE|dk|fi|fr|hu|it|en|en-US)/photogallery/([^&]+)/([^/]+)(/[0-9]+)?/?$’

    I managed to indipendently match the locale in the url with a rewrite rule like
    ‘^([^/]*)/photogallery/([^/]*)/([^/]*)/photographer/([^/]*)/?$’
    but I think it’s a undtidy way to solve it.

    To you think Bogo can be extended to cover these cases?

    • This topic was modified 8 years, 2 months ago by mikylucky.
  • The topic ‘Conflicts with custom rewrite rule’ is closed to new replies.