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

Incorrect term url on custom taxonomy #329

Open
yangkennyk opened this issue Dec 6, 2019 · 2 comments
Open

Incorrect term url on custom taxonomy #329

yangkennyk opened this issue Dec 6, 2019 · 2 comments

Comments

@yangkennyk
Copy link

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.

@yangkennyk
Copy link
Author

this only happens if you use "blog" as the slug

@widoz
Copy link
Member

widoz commented Dec 11, 2019

Hi @yangkennyk this is MLP2 repository, if you're having problems with MLP3 please contact Inpsyde through our customer help desk thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants