Archive Title Causes 502 Gateway Error

#28703
  • Resolved James Derrick
    Rank Math free

    Hi,
    Rank Math SEO was recently installed on a site that we support
    Almost everything is working really well
    However, we have a few custom post types, which also have archive pages
    e.g. sitename.com/guides for all the posts of type guide, sitename.com/videos for all the posts of type video etc
    For one post type, and only one post type, if the Archive Title includes the default %SEO_title% then PHP crashes when you try to load the page.
    I have tried to debug the issues, and it is when get_header() is called on the custom page template. But I cannot work out why it would work fine for one custom post type and not for another.
    Currently running PHP-FPM 7.1 if that helps
    Any guidance would be greatly appreciated

Viewing 2 replies - 1 through 2 (of 2 total)
  • Apologies, made a mistake, running php-fpm 7.0

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    The %seo_title% variable is used to display the generated title from the post title on the Rank Math metabox. Using this on the location where it is supposed to be generated is what is causing the problem since the logic will execute an indefinite loop until the execution time is exhausted.

    We recommend using this variable in other locations such as when assigning the schema title. For post titles to work seamlessly please use %title% variable.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The ticket ‘Archive Title Causes 502 Gateway Error’ is closed to new replies.