• Resolved linoo

    (@linoo)


    Hi there,

    I’ve encountered a consistent issue where Internal Link Juicer (ILJ) fails to index any content when both Polylang and a custom post type (CPT) are active. Everything works fine when used individually, but the index drops to zero as soon as both are enabled together.

    Working plugin combinations (tested and confirmed):

    • Internal Link Juicer + CPT UI → indexing works normally
    • Internal Link Juicer + BetterDocs → indexing works normally
    • Internal Link Juicer + Polylang → indexing works normally
    • CPT UI + Polylang → works fine
    • BetterDocs + Polylang → works fine

    When all three are active (ILJ + Polylang + any CPT):

    • ILJ’s index count (Amount of links in the index) becomes 0
    • The Amount of configured keywords remains correct
    • No internal links are generated
    • Even regular posts and pages are not indexed
    • Still, both Polylang and the CPT function correctly
      (e.g., CPT posts and Polylang translations display normally)

    Steps to reproduce:

    1. Install Internal Link Juicer, Polylang, and a CPT plugin (either CPT UI or BetterDocs).
    2. Create a custom post type using the CPT plugin.
    3. Create several posts in both the custom post type and the standard post type, including internal linking keywords.
    4. Add languages in Polylang and assign them to all posts.
    5. Enable ILJ and whitelist the custom post types.
    6. Build the ILJ index → count is 0.
    7. Disable Polylang → index builds successfully.
    8. Re-enable Polylang → index drops to 0.
    9. Disable the custom post type → index builds successfully (CPT excluded, as expected).
    10. Re-enable the custom post type → index drops to 0 again.

    Environment:

    • WordPress 6.7.2
    • Internal Link Juicer 2.25.1
    • Polylang 3.6.7
    • Custom Post Type UI 1.17.2
    • BetterDocs 3.8.13
    • Theme: Astra 4.9.0

    All plugins and theme are updated to the latest version as of March 2025.
    Issue was reproduced in a clean WordPress environment with no caching or optimization plugins active.

    Debugging steps already taken:

    • Verified with clean install, only essential plugins activated
    • Purged all cache / tried disabling caching plugins
    • Switched to default WordPress theme (Twenty Twenty-Four)
    • No errors in browser console or PHP logs
    • Tested both CPT UI and BetterDocs

    This issue first appeared when using BetterDocs + Polylang, but I was able to reproduce it with CPT UI as well — same result.

    It appears that when both Polylang and a custom post type are active, ILJ fails to index any content, including standard posts.

    Let me know if this is a known compatibility issue, or if there’s any workaround or patch I can test.

    Thanks again for your great work on ILJ!

    Best regards,
    Linoo

    • This topic was modified 10 months, 1 week ago by linoo.
    • This topic was modified 10 months, 1 week ago by linoo. Reason: Revised to better explain the issue and how to reproduce it
Viewing 1 replies (of 1 total)
  • Thread Starter linoo

    (@linoo)

    After writing this post, I decided to do one final clean installation and test everything again — and surprisingly, it worked this time.

    I had already done multiple reinstalls and tested various plugin combinations over the past four days, but I must have messed something up during those attempts. 😓

    Thanks again for your time and understanding.

Viewing 1 replies (of 1 total)

The topic ‘Indexing issue when using Polylang with CPTs (index = 0)’ is closed to new replies.