• some permalink experts here? I have a very odd bug:
    – Multisite with MultilingualPress (v3.1.2)
    – page.de -> german language
    – en.page.de -> english language
    – custom post types and custom taxonomies
    – CPT & CTAX have translated slugs
    – permalink structure: /%category%/%postname%/

    1. Problem: On a “single-project” (page.de/projekt/projekt-title) every URL within my main navigation that should lead to a project-single gets suddenly stripped after the post-type-slug:page.de/projekt/
    2. Problem: On a “term-single” of the taxonomy “topic” (page.de/thema/term-slug) every URL within my main navigation suddenly got no translation:page.de/topic/term-slug

    I checked all of my code for that site for maybe broken/wrong written WP_Queries, double checked my filters etc.

    those 2 problems somehow only exists on the production server but neither on staging nor local.

    Someone got an idea?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    When code works on one server but not on production, very often it is due to differing PHP versions. Many hosts seem to be very slow to upgrade their PHP. Sometimes you can upgrade the PHP version used through cPanel or similar interface. Not always to the latest version, but hopefully enough to get your code working as it should.

    Other times it can be because the host has not loaded specific PHP modules you need or they have restricted the use of certain functions for security reasons. Compare the output of phpinfo() from each server.

Viewing 1 replies (of 1 total)

The topic ‘permalinks broken on specific post-type’ is closed to new replies.