<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Yoast SEO metadata not updating during AJAX project navigation]]></title><description><![CDATA[<p dir="auto"><strong>Yoast SEO metadata not updating during AJAX project navigation</strong></p>
<p dir="auto">Hi Armin,</p>
<p dir="auto">While testing the SEO implementation of my new portfolio website, I noticed an inconsistency in how Yoast SEO metadata is handled during AJAX navigation.</p>
<p dir="auto"><strong>Environment:</strong></p>
<ul>
<li>Operating System: macOS 27.2.1</li>
<li>Browser: Google Chrome 158.0.8127.108 (Official Build, arm64)</li>
<li>Lay Theme: 12.0.2</li>
<li>WordPress: 7.1.5</li>
<li>Yoast SEO: 28.9</li>
<li>PHP: 8.4</li>
<li>LiteSpeed Cache</li>
<li>Hosting: Namecheap</li>
</ul>
<p dir="auto">The website is currently under development in a staging environment protected by Basic Authentication and a sitewide <code>noindex</code> directive.</p>
<p dir="auto"><strong>Steps to reproduce:</strong></p>
<ol>
<li>Open a page containing a Project Grid.</li>
<li>Click on a project without manually refreshing the browser.</li>
<li>Inspect the document head using Chrome DevTools.</li>
</ol>
<p dir="auto"><strong>Expected behaviour:</strong></p>
<p dir="auto">All SEO metadata and structured data should reflect the currently displayed project after AJAX navigation.</p>
<p dir="auto"><strong>Actual behaviour:</strong></p>
<p dir="auto">The URL, page content and document title update correctly. However, the following elements either remain associated with the previous page or are missing:</p>
<ul>
<li>Meta description</li>
<li>Open Graph title</li>
<li>Open Graph URL</li>
<li>Open Graph image</li>
<li>Yoast JSON-LD structured data</li>
</ul>
<p dir="auto">After a hard refresh or when accessing the project URL directly, all metadata and structured data are correctly generated.</p>
<p dir="auto"><strong>Troubleshooting already performed:</strong></p>
<ul>
<li>Purged all LiteSpeed caches.</li>
<li>Cleared the Lay Theme Layout Cache.</li>
<li>Repeated the tests in a fresh Chrome Incognito session.</li>
<li>Temporarily deactivated the LiteSpeed Cache plugin entirely.</li>
</ul>
<p dir="auto">The issue persists in all these scenarios.</p>
<p dir="auto">Is this a known limitation of Lay Theme's AJAX navigation when using Yoast SEO? Is there an existing setting, hook or recommended approach to synchronise the SEO metadata during page transitions?</p>
<p dir="auto">Ideally, I would like to preserve AJAX navigation and the existing page transitions while ensuring that the document head accurately represents the current page.</p>
<p dir="auto">I've attached screenshots illustrating the behaviour before and after a hard refresh.</p>
<p dir="auto">Thanks in advance for your help!</p>
<p dir="auto">Best regards,<br />
João Loureiro<br />
<a href="https://joaoloureiro.com" target="_blank" rel="noopener noreferrer nofollow ugc">https://joaoloureiro.com</a></p>
]]></description><link>https://laythemeforum.com/topic/12130/yoast-seo-metadata-not-updating-during-ajax-project-navigation</link><generator>RSS for Node</generator><lastBuildDate>Wed, 02 Dec 2026 22:44:31 GMT</lastBuildDate><atom:link href="https://laythemeforum.com/topic/12130.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Dec 2026 16:51:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Yoast SEO metadata not updating during AJAX project navigation on Wed, 02 Dec 2026 17:02:49 GMT]]></title><description><![CDATA[<p dir="auto"><strong>Quick update:</strong> Yoast SEO has just been updated from version 28.9 to 29.0. I've repeated the same tests after clearing both the LiteSpeed and Lay Theme caches, and can confirm that the issue persists.</p>
<p dir="auto">Direct page loads continue to generate the correct metadata and structured data, but AJAX project navigation still leaves the previous page's metadata in the document head.</p>
]]></description><link>https://laythemeforum.com/post/48494</link><guid isPermaLink="true">https://laythemeforum.com/post/48494</guid><dc:creator><![CDATA[joaoloureiro]]></dc:creator><pubDate>Wed, 02 Dec 2026 17:02:49 GMT</pubDate></item></channel></rss>