Build Journal

Agentic SEO Improvements and Security Enhancements — August 24, 2026

I improved agentic SEO with a new sitemap strategy and enhanced security features to strengthen my platform. Here's what shipped today.

11 changes3 min readby Rob

What shipped

  • New Sitemap StrategyUpdated sitemap to omit lastModified field on static routes for better SEO integrity.
  • Security.txt ImplementedAdded security.txt for transparency in vulnerability reporting.
  • Real 404 PageImplemented a real 404 page to improve user experience and SEO health.
  • Trading Bot API SecuredRestricted access to live-balance pill for signed-in admins only.

Today, I focused on enhancing the agentic SEO of my platform and fortifying its security features. I shipped a total of 11 commits over a solid 5-hour session, and the results are already promising. The highlights include a new sitemap strategy that will better communicate with search engines and a comprehensive security update that addresses several vulnerabilities.

One of the key features I implemented was an update to the sitemap. I stopped the practice of stamping the 'lastmod' field with the current timestamp on static routes. Previously, this hourly regeneration caused Google to distrust the last modified field, leading to potential indexing issues. Now, evergreen routes will omit the 'lastModified' field altogether, presenting a more honest representation of the content's freshness. This should help in maintaining the integrity of my site's SEO performance.

In addition to the sitemap improvements, I dedicated time to enhancing the site's security posture. I added a security.txt file, which is a crucial step for transparency regarding security vulnerabilities and contact information. This RFC-compliant file will allow security researchers and users to know how to reach out if they discover any issues. Furthermore, I enforced a nonce-less baseline policy for Content Security Policy (CSP), which will help in mitigating various injection attacks.

However, the session wasn't without its challenges. One of the notable bugs I encountered was related to the 404 page. The previous implementation redirected all dead or mistyped URLs to a catch-all page, which resulted in soft 404s. This was not only confusing for users but also generated misleading data in Google Search Console. After some debugging, I successfully implemented a real 404 page that now provides an accurate status for crawlers and users alike. This should significantly improve user experience and help with the site's overall SEO health.

I also tackled some security vulnerabilities related to the trading bot API. I discovered that the live-balance pill was accessible to anonymous users, which was a significant oversight. I gated this endpoint so that only signed-in admins can access it, ensuring that sensitive information remains secure. This fix not only protects the data but also reduces unnecessary error messages in the console for users who are browsing anonymously.

There were several minor improvements as well, such as stopping the minting of the geo_portal_session cookie in middleware. This change was necessary because the cookie was marking every HTML response as uncacheable, which was counterproductive to my caching strategy. By removing this unnecessary cookie-setting process, I expect to see improved caching performance across the site.

As I reflect on these improvements, I am reminded of the importance of building this platform solo with the help of AI. Using Claude Code in VS Code has allowed me to iterate quickly and efficiently, saving time and resources that I would have otherwise spent on hiring a team. Each bug I encounter and fix is a lesson learned, and every feature I ship brings me one step closer to my goal of building a one-man-show company with a billion-dollar valuation.

Overall, today's session was productive, and I am excited about the progress made toward enhancing both the user experience and the platform's security. As I continue to build in public, I hope that sharing these insights helps other solo builders on their journeys. The path is challenging, but every commit brings me closer to realizing my vision for the agentic web and spatial AI.

Terms in this entryGEO PortalMint

← Back to the full build journal