• Resolved newbee_sue

    (@newbee_sue)


    thank you for responding to my post “parameter to the link generates 404 errorhttps://test.deracheha.org/posit”
    I took out the / and now the rewrite slug is blank
    I am using wck for custom post types and I implement Custom Post Type Permalinks for the url and then the link works without having to show the name of the custom post type which in this case is article. but then there is a conflict with elementor when I want my link to have a /target=? added. So https://www.deracheha.org/prayer-3-upon-arising/?target=qa does not work The only way to make permalink structure work with Elementor is to use full article URL without s blank rewrite slug applied. Elementor wrote to me that If you do not want to use the word Article in the URL. It seems that Elementor clashes with these settings and that I should write to you a follow up message

    any advice would be appreciated. thanks`

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support madalinaruzsa

    (@madalinaruzsa)

    Hi @newbee_sue,

    I’m not sure what can be causing this conflict. The only thing I can say is that it’s possible the two just aren’t compatible with this particular permalink setup. Changing permalinks from the default WordPress setup can cause various issues with this. My suggestion would be to not use any sort of rewrite. Maybe create the CPT from scratch.

    Thread Starter newbee_sue

    (@newbee_sue)

    thanks. I will look into this a bit more

    Thread Starter newbee_sue

    (@newbee_sue)

    After doing some more troubleshooting we have found that the 404 is being returned because when Elementor is loaded the post_type is returned as an array with the following:
    Array

    (
    [0] => post
    [1] => page
    [2] => e-landing-page
    )

    However, when Elementor is disabled the post_type is returned as an array with the following:
    Array

    (
    [0] => post
    [1] => article
    [2] => page
    )

    Our page uses the custom post type article. When article is in the array the page is found correctly (which is the behavior with Elementor disabled). However, with Elementor enabled this post type is not included in the array resulting in the 404.`
    The solution:go to wordpress dashboard > Elementor>settings> Experiments and set landing page as inactive and this solved the issue

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wck and elementor conflict’ is closed to new replies.