<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Wonderlist</title>
    <description>The latest articles on DEV Community by Wonderlist (@wonderlistorg).</description>
    <link>https://dev.to/wonderlistorg</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4200575%2F0674b654-eb24-475c-b0f7-9ea3871bbdc6.png</url>
      <title>DEV Community: Wonderlist</title>
      <link>https://dev.to/wonderlistorg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wonderlistorg"/>
    <language>en</language>
    <item>
      <title>We had 167 pages Google wouldn't index. The fix was links, not tags.</title>
      <dc:creator>Wonderlist</dc:creator>
      <pubDate>Thu, 22 Oct 2026 13:20:31 +0000</pubDate>
      <link>https://dev.to/wonderlistorg/we-had-167-pages-google-wouldnt-index-the-fix-was-links-not-tags-2ap4</link>
      <guid>https://dev.to/wonderlistorg/we-had-167-pages-google-wouldnt-index-the-fix-was-links-not-tags-2ap4</guid>
      <description>&lt;p&gt;Wonderlist (&lt;a href="https://wonderlist.co" rel="noopener noreferrer"&gt;https://wonderlist.co&lt;/a&gt;) is a travel marketplace: Pakistani agencies list Umrah packages and tours, travelers compare and book in the app. The web side has a public page for every package, built with the Next.js App Router.&lt;/p&gt;

&lt;p&gt;Search Console said 16 pages indexed, 167 not. Every page had a title, a description, a canonical and JSON-LD. The sitemap listed them all. So what was wrong?&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Nothing linked to the pages
&lt;/h3&gt;

&lt;p&gt;The /tours page was a client-side search: it loaded packages with JavaScript after the page rendered. Googlebot does render JavaScript, but it ranks pages by the links it finds in HTML, and our server HTML had &lt;strong&gt;zero links to any package page&lt;/strong&gt;. A URL that is only in the sitemap is a URL Google knows about but has no reason to rank.&lt;/p&gt;

&lt;p&gt;The fix was boring: server-rendered category pages (&lt;code&gt;/umrah-packages&lt;/code&gt;, &lt;code&gt;/pakistan-tours&lt;/code&gt;, &lt;code&gt;/international-tours&lt;/code&gt;) that list every bookable package as a plain &lt;code&gt;&amp;lt;a href&amp;gt;&lt;/code&gt;, linked from the footer on every page. Then "similar packages" on each package page, an agency directory, and facet pages for real searches (&lt;code&gt;/umrah-packages/21-days&lt;/code&gt;, &lt;code&gt;/pakistan-tours/skardu&lt;/code&gt;) — each only indexable when at least two packages match, so there are no near-empty pages.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. The sitemap listed trips that had already happened
&lt;/h3&gt;

&lt;p&gt;79 of 180 active packages had tour dates in the past. They were in the sitemap and indexable, so Google was spending crawl on dead trips. Now a finished trip stays reachable (old links and QR posters still work) but is &lt;code&gt;noindex&lt;/code&gt; and out of the sitemap, and its Offer says &lt;code&gt;SoldOut&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Titles longer than Google shows
&lt;/h3&gt;

&lt;p&gt;140 of 213 titles were over 60 characters (agencies write long package names). One helper builds every title: the package name first, the brand only if it fits, cut at a word.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;seoTitle&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;main&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;text&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;clean&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;main&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;text&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;SUFFIX&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;text&lt;/span&gt;&lt;span class="p"&gt;}${&lt;/span&gt;&lt;span class="nx"&gt;SUFFIX&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;cutAtWord&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;text&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  4. Check it, don't assume it
&lt;/h3&gt;

&lt;p&gt;A short script crawls the live sitemap and fails on any page that isn't 200, has a title over 60 or description over 155, a canonical that isn't itself, a &lt;code&gt;noindex&lt;/code&gt;, more or fewer than one &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt;, or JSON-LD that doesn't parse. I run it against production after every deploy; the result today is 164 URLs, 0 problems. New URLs go to Bing and others through IndexNow straight after.&lt;/p&gt;

&lt;h3&gt;
  
  
  What I'd tell anyone with the same Search Console report
&lt;/h3&gt;

&lt;p&gt;"Discovered – currently not indexed" usually isn't a tag problem. Open your server HTML (&lt;code&gt;curl&lt;/code&gt;, not the browser) and count the &lt;code&gt;&amp;lt;a href&amp;gt;&lt;/code&gt; links to the pages you want indexed. If it's zero, that's the bug.&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>seo</category>
      <category>webdev</category>
      <category>react</category>
    </item>
  </channel>
</rss>
