Skip to content

Add multilingual support for Canonical URL Notation Tool #693

@sybrew

Description

@sybrew

The new Canonical URL Notation Tool does not appear to support Polylang.

What we get: example.com/path-to-translated-page/
What we want: example.com/lang/path-to-translated-page/

Instead of transforming $wp_rewrite->front, it modifies the home_url() callback.
WPML is in the same boat.

This is also why #675 is problematic.

We need to find a way to extract their "root."

I'd love to have this resolved before the final release, but I'm only halfway through the code review.
And since this is only a visual issue (which I'm sure many will complain about), it's not a blocker.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions