Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Incorrect term url on custom taxonomy  #329

@yangkennyk

Description

@yangkennyk

Version Information

  • WordPress: 5.3
  • MultilingualPress: 3.3.1

Steps to Reproduce

  1. Set permalink settings of "main" sub-site to "/blog/%postname%/"
  2. Register a custom taxonomy with "with_front => false"
  3. Set the custom taxonomy as a "translatable taxonomy" in multilingualpress.
  4. Link the taxonomy between two sites
  5. When you use get_term_link() on the taxonomy page it returns the term link with "blog' prepended resulting in 404.

What I Expected

Return the correct term link url

What Happened Instead

I received the term link with "blog" prepended resulting in 404

If I disable the plugin it returns the correct url

I think it's related to this

https://blog.webentwicklerin.at/multilingualpress-ein-workaround-fuer-verknuepfungslinks-bei-uebersetzen-custom-rewrite-taxonomy-slugs/

I can't read german so I had to translate it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions