Title: Wrong title displayed in POSTS
Last modified: May 9, 2022

---

# Wrong title displayed in POSTS

 *  Resolved [girpuntcat](https://wordpress.org/support/users/girpuntcat/)
 * (@girpuntcat)
 * [4 years ago](https://wordpress.org/support/topic/wrong-title-displayed-in-posts/)
 * Hello,
 * I use All in One SEO 4.1.6.2 and have this issue since lasts updates. The posts
   title in the browser’s tab is somehow wrong (random or offset) and shows other
   post’s titles. This issue does not happen with pages.
 * I have reviewed the settings and changed a bit the “Variables” in general settings
   and also in specific posts to see if after a change it fixed the issue, but no
   luck.
 * I have also updated to latest version of the plugin (v 4.2.0) and still the same
   problem.
 * I am pretty sure there is something in the latest’s versions of the plugin causing
   this issue. It didn’t occur before and in my case I’m using a custom template
   developed by myself, minimum usage of other plugins, and the debug isn’t showing
   any errors.
 * Thanks a lot for your help!
 * This is a follow up of an older thread: [https://wordpress.org/support/topic/printing-wrong-title/#post-15625721](https://wordpress.org/support/topic/printing-wrong-title/#post-15625721)
 * Versions and details:
    – WordPress 5.9 – All in One SEO 4.2.0 – PHP 7.3

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

 *  [J Burns](https://wordpress.org/support/users/subiewrx/)
 * (@subiewrx)
 * [4 years ago](https://wordpress.org/support/topic/wrong-title-displayed-in-posts/#post-15654641)
 * Hi [@girpuntcat](https://wordpress.org/support/users/girpuntcat/),
 * Thanks for the follow-up. Could you please try a default WP theme? If you are
   still having the same issue, please reach out to our support team as noted in
   the older thread and they will be happy to assist you.
 * Thanks!
 *  Plugin Support [Steve M](https://wordpress.org/support/users/wpsmort/)
 * (@wpsmort)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/wrong-title-displayed-in-posts/#post-15679057)
 * Hi [@girpuntcat](https://wordpress.org/support/users/girpuntcat/),
 * We haven’t heard back from you in a week. I’m going to go ahead and close this
   thread for now. But if you’d like us to assist, please feel welcome to continue
   the conversation.
 * Thanks! 🙂
 *  Thread Starter [girpuntcat](https://wordpress.org/support/users/girpuntcat/)
 * (@girpuntcat)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/wrong-title-displayed-in-posts/#post-15692177)
 * Hello,
 * Sorry for the late reply. I’ve switched to a default theme (Keeping all plugins
   active) and the title is shown correctly. It seems there is an issue in our theme
   and how it interacts with AIOS.
 * When I check the metadata displayed in the frontend (under <!– All in One SEO
   4.2.0 –>) It seems that only the title is wrong. All the rest is working properly:
   description, link, all the “og” metadata…
 * The WP debug and browser’s console don’t show any errors. Do you have any clue
   or tip that may point to the issue?
 * It happens only with the default Post (Post type) and posts are created with 
   Classic editor view, Gutemberg is disabled.
 * Thanks a lot,
 *  Thread Starter [girpuntcat](https://wordpress.org/support/users/girpuntcat/)
 * (@girpuntcat)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/wrong-title-displayed-in-posts/#post-15692250)
 * Hello,
 * I finally found what was causing the issue. I’ll post my solution in case it 
   helps other people.
 * In my case there were multiple WP_Query loops inside the single.php to display
   related posts.
 * I just added a ‘wp_reset_postdata();’ in the beginning and ending of those loops
   and it fixed the issue.
 * Regards,

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

The topic ‘Wrong title displayed in POSTS’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [girpuntcat](https://wordpress.org/support/users/girpuntcat/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/wrong-title-displayed-in-posts/#post-15692250)
 * Status: resolved