VaLeXaR / wp-multilang

Multilingual plugin for WordPress.
130 stars 44 forks source link

language URLs created for disabled elements #167

Open tiojoca opened 4 years ago

tiojoca commented 4 years ago

When WP Multilang is turned off for a given "element", it still creates all its language URLs.

For example, if we turn off WP Multilang for the post type test in the configuration:

{
  "post_types": {
    "test": null
  }
}

All the URLs for the configured languages will still be available, like https://example.com/en/test/post1 and https://example.com/es/test/post1

This creates issues with SEO and analytics.

Is there a way to disable this?