How to fix seo category empty on Remix
Either populate the empty category with products, or add a noindex tag and remove it from your navigation so Google does not waste crawl budget on a page with no content.
Steps for Remix
- Identify the empty category route file in your Remix project (e.g. app/routes/collections/$category.tsx or app/routes/category/$handle.tsx) and locate the loader function that fetches products for that category.
- In the loader, detect when the category returns zero products — for example: `if (products.length === 0) { return json({ products: [], empty: true }); }`.
- In the same route file, update the exported `meta` function to conditionally inject a `noindex` robots tag when the category is empty: ```ts export const meta: MetaFunction = ({ data }) => { if (data?.empty) { return [{ name: 'robots', content: 'noindex, nofollow' }]; } return [{ title: data?.category?.title }]; }; ```
- Remove empty category links from your navigation by checking the `empty` flag in any nav-building loader or component (e.g. in app/root.tsx or a shared Header component) — filter out categories whose product count is 0 before rendering `<Link>` elements.
- If you prefer to populate rather than noindex, seed real products into the empty category via your CMS or commerce backend (e.g. Shopify, Medusa, Commerce.js) and verify the loader now returns at least one product before removing any noindex logic.
- Deploy the changes, then submit the affected URLs for recrawl in Google Search Console (Inspect URL → Request Indexing) and confirm the `noindex` header or tag appears in the page source for any remaining empty categories.
What is seo category empty?
A category (also called a collection) page that contains zero products is considered "thin content" by search engines. There is nothing of substance for Google to index — no product listings, no descriptions, no prices — just a shell of a page. This can happen when you create a category in advance, remove all products from it, or when seasonal inventory runs out and is never restocked.
Google actively discounts thin-content pages, and having too many of them across your site can drag down the quality signal for your entire domain, hurting rankings across all your pages — not just the empty one. Empty category pages also waste Google's crawl budget: every minute spent crawling a blank page is a minute not spent discovering your actual product and blog pages. From a user perspective, a shopper who lands on an empty category will immediately leave (high bounce rate) and lose trust in your store, directly costing you conversions and revenue. Removing or hiding these pages is one of the highest-return, lowest-effort technical SEO wins available to any store owner.
See the complete Seo category empty guide for every platform and the full background.
Not sure if your Remix store has this?
Run a free SEOLZ scan — we’ll find seo category empty and every other issue across your whole site.
Scan my site free