How to Optimize Products for Search

6 minutes Intermediate How-To

Overview

Why Product Search Optimization Matters

  • Higher organic CTR and sessions to product pages
  • Increased on-site search conversion rate
  • Reduced zero-result searches and search exits
  • Improved average position for priority product URLs in search results

Optimize product pages so shoppers and search engines can find them faster. This how-to guides Magento merchants to create SEO-friendly URLs, compelling meta data, and high-quality content that improves organic visibility and on-site search findability—leading to more qualified traffic and higher conversion.

Suggested 30–60 Day Targets:

+10–20% organic sessions to product pages; +1–2 percentage points SERP CTR for key product URLs; -30% zero-result searches; -10–20% search exit rate

How to Measure and Prioritize

  • Use Google Search Console (Search Results report) to monitor impressions, average position, and CTR for product URLs
  • Use GA4 or Adobe Analytics to measure site search behavior and conversion. In GA4, track view_search_results and purchase events to derive search conversion and exit rates
  • Prioritize optimization for top revenue SKUs and product URLs with high impressions but low CTR to maximize impact

Prerequisites

Before you begin, make sure you have:

Admin Panel Access

Access to Magento Admin Panel

Product Catalog Setup

Existing product catalog configured

Cron Enabled

Enabled cron for scheduled sitemap generation and indexers

Administrator Role

Permissions for Catalog, Marketing, and Stores configuration

Web Server Rewrite

Apache mod_rewrite or Nginx equivalent enabled

Adobe Live Search Compatibility

Note: Screens and features apply to Magento Open Source and Adobe Commerce 2.4.x. If you use Adobe Live Search: manage synonyms, search suggestions/recommendations, and merchandising in Live Search instead of native Catalog Search. Relevance tuning and attribute boosting are configured in Live Search, not via native Search Weight.

What You'll Accomplish

By following this guide, you will:

  • Configure global SEO settings for clean URLs and canonical tags
  • Optimize product URL keys with 301 redirects
  • Write high-quality meta titles/descriptions and on-page content
  • Tune attributes and synonyms to improve on-site search relevance
  • Generate and submit an XML sitemap and verify indexing

Step-by-Step Instructions

1

Set global SEO URL and canonical settings

Group and apply the following settings by Admin path:

Go to: Stores › Configuration › General › Web › Search Engine Optimization

  • Set: Use Web Server Rewrites = Yes

Go to: Stores › Configuration › General › Web › Url Options

  • Set: Add Store Code to URLs = No
  • Set: Auto-redirect to Base URL = Yes (301 Moved Permanently)

Go to: Stores › Configuration › Catalog › Catalog › Search Engine Optimization

  • Set: Use Categories Path for Product URLs = No
  • Set: Use Canonical Link Meta Tag for Products = Yes; Categories = Yes
  • Set: Product URL Suffix = .html; Category URL Suffix = .html (include the leading dot)
  • Set: Create Permanent Redirect for URLs if URL Key Changed = Yes

Warning: URL Changes on Live Sites

Avoid changing URL suffixes on a live site without testing and 301 redirects—doing so can cause widespread 404s and SEO loss.

Changing "Use Categories Path for Product URLs" on a live site can rewrite many product URLs. Test in a staging environment first, export current URLs, prepare bulk 301 redirects, and update XML sitemaps before deploying.

Bulk redirects (for large changes):

Implement 301s at your web server/CDN for scale. Examples:

Apache:

Redirect 301 /old-url.html /new-url.html

Nginx:

rewrite ^/old-url.html$ /new-url.html permanent;

For small batches: Marketing › SEO & Search › URL Rewrites › Add URL Rewrite

  • Click: Save Config

Go to: Stores › Configuration › Catalog › Catalog › Catalog Search

  • Review and set: Minimum Query Length, Maximum Query Length
  • Optional: Enable Search Suggestions = Yes; Enable Search Recommendations = Yes (tune to your catalog and customers)
  • If Adobe Live Search is enabled, native Catalog Search settings (suggestions/recommendations) are not used; manage these behaviors in the Live Search admin

Why this matters: Canonicals and clean URLs prevent duplicate content, consolidate ranking signals, and improve crawl efficiency; tuned search settings improve on-site findability and conversion.

2

Ensure product is visible in search

Go to: Catalog › Products › [Product]

  • Ensure: Enable Product = Yes
  • Set: Visibility = Catalog, Search
  • Product in Websites: select the target Website(s)
  • Categories: assign at least one relevant, enabled category (recommended for discovery/navigation)

Ensure availability:

  • Quantity > 0 or Backorders allowed
  • If using MSI: in the product's Sources section, assign the correct sources and quantities. Ensure the product is assigned to the target Website(s) in Product in Websites, and that the Website is linked to the correct Stock (Stores › Inventory › Stocks)
  • Optional: If you want out-of-stock items to appear in search: Stores › Configuration › Catalog › Inventory › Stock Options › Display Out-of-Stock Products = Yes
  • Click: Save

Why this matters: If a product isn't enabled, assigned to a website, salable, or set to Catalog, Search it won't show in on-site search results.

3

Optimize product URL key with 301 redirect

Go to: Catalog › Products › [Product] › Search Engine Optimization

  • Set: URL Key = lowercase, hyphen-separated; no special characters; keep under 60 characters (e.g., "mens-running-shoes-nike-pegasus-40"). Avoid stop words (the, and, for) and redundant category words if not needed
  • Set: Create Permanent Redirect for old URL = Yes
  • For multi-language sites: use the Store View selector (top-left) to set localized URL Keys per store view
  • Click: Save

Bulk redirects tip:

When changing many URL keys or suffixes, export old/new URLs to create a mapping and implement redirects at the web server or CDN layer for performance and scale. For smaller sets, use Marketing › SEO & Search › URL Rewrites.

Why this matters: A clean URL improves relevance and click-through; 301 redirects preserve link equity and prevent traffic loss from broken links.

4

Write meta title and meta description

Go to: Catalog › Products › [Product] › Search Engine Optimization

  • Set: Meta Title = 50–60 characters, include primary keyword and brand/model if applicable
  • Set: Meta Description = 150–160 characters emphasizing benefits and a clear CTA
  • For multi-language sites: switch Store View and provide localized Meta Title and Meta Description
  • Click: Save

Scale it with templates (recommended for large catalogs):

Go to: Stores › Configuration › Catalog › Catalog › Product Fields Auto-Generation

Use attribute placeholders to auto-generate defaults, for example:

  • Meta Title: {{name}} | {{brand}}
  • Meta Description: Shop {{name}} by {{brand}}. {{short_description}}

These defaults apply when product-level fields are empty; you can override per product as needed.

Why this matters: Strong meta tags improve SERP relevance and CTR, driving more qualified organic traffic. Templates save time and ensure consistency across large catalogs.

5

Improve product descriptions and image alt text

Go to: Catalog › Products › [Product]

  • Refine: Short Description and Description with shopper-focused copy, features/benefits, and naturally integrated keywords
  • Differentiate: Avoid copy-pasting manufacturer descriptions. Add unique value propositions (USPs), sizing/fit guidance, care instructions, returns/warranty info, and a brief FAQ to address objections

Go to: Images and Videos

  • Click each image and set: Alt Text = descriptive text (e.g., "Men's blue mesh running shoe, side view")
  • Click: Save

Advanced: Multi-language/International

Magento does not add hreflang tags out of the box. Work with your developer or an extension to implement hreflang linking equivalent product URLs across store views/locales to improve geotargeting and avoid duplicate-content issues.

Why this matters: Rich, relevant content aids ranking and conversions; alt text improves accessibility and image SEO.

6

Configure key attributes for search relevance

Go to: Stores › Attributes › Product › [Attribute] › Storefront Properties

  • Set: Use in Search = Yes
  • Set: Search Weight = higher (e.g., 5–10) for critical attributes (Brand, Material, Size)
  • Set: Use in Layered Navigation = Filterable (with results)
  • Set: Use in Search Results Layered Navigation = Yes (to show the filter on search results pages)
  • Ensure: The attribute is assigned to the product's attribute set

Note: Layered Navigation is only available for attributes with Catalog Input Type = Dropdown, Multiple Select, or Price.

The "Use in Search Results Layered Navigation" option appears only after setting "Use in Layered Navigation" to Filterable and for supported attribute types.

  • Note: After changing Use in Search or Search Weight, reindex the Catalog Search index (System › Tools › Index Management) or via CLI (see Step 11)
  • If you use Adobe Live Search: configure attribute boosting and relevance in Live Search instead of relying on native Search Weight
  • Click: Save Attribute

Why this matters: Proper attribute configuration boosts search relevance and enables filters shoppers use to convert.

7

Add shopper-language search synonyms

Go to: Marketing › SEO & Search › Search Synonyms

  1. 1. Click: New Synonym Group
  2. 2. Set: Scope = Website
  3. 3. Enter terms (comma-separated): sneakers, trainers, running shoes
  4. 4. Click: Save

How to find high-impact synonyms:

  • Review Admin › Marketing › SEO & Search › Search Terms for frequent queries and misspellings
  • In Google Search Console, check Search Results › Queries for how users describe your products
  • Talk to Customer Service and Sales for regional terms and common alternatives
  • Prioritize synonyms that drive zero-result searches to reduce abandonment

Note: If you use Adobe Live Search, manage synonyms in the Live Search admin instead of native synonyms.

Why this matters: Synonyms capture how customers actually search, reducing zero-results and improving conversions.

8

Create and submit XML sitemap

Go to: Stores › Configuration › Catalog › XML Sitemap

  • Under Generation Settings: Enabled = Yes; configure Frequency and Start Time (cron must be enabled)
  • Under Products Options: Add Images into Sitemap = All
  • Under Sitemap File Limits: set Maximum No. of URLs per File (up to 50,000) and Maximum File Size (up to 10,485,760 bytes). Magento splits files automatically when limits are reached
  • Click: Save Config

Go to: Marketing › SEO & Search › Site Map

  1. 1. Click: Add Sitemap
  2. 2. Set: Filename = sitemap.xml; Path = /
  3. 3. Set: Store View = [Your Store View]
  4. 4. Click: Save, then click: Generate

Note: On Adobe Commerce on cloud infrastructure, the web root may be read-only.

Set Path = /media/sitemap/ (ensure the directory exists and is writable) and submit the full URL (e.g., https://yourdomain.com/media/sitemap/sitemap.xml) to Google Search Console.

  • Confirm: The sitemap URL you configured (e.g., https://yourdomain.com/sitemap.xml or https://yourdomain.com/media/sitemap/sitemap.xml) is accessible
  • For multi-storeview sites: create a separate sitemap per Store View and submit each one. Use a separate Google Search Console URL-prefix property that matches each store view's exact base URL, and submit the corresponding sitemap URL in that property

Submit to Google Search Console:

In Google Search Console, open your property › Indexing › Sitemaps › enter the sitemap URL (e.g., https://yourdomain.com/sitemap.xml) › Submit.

Add to robots.txt for discovery (recommended):

  1. 1. Go to: Content › Design › Configuration › [Store View] › Search Engine Robots
  2. 2. In "Edit Custom instruction of robots.txt File", add: Sitemap: https://yourdomain.com/sitemap.xml (use the exact URL per store view)

Why this matters: Sitemaps help search engines discover and index product URLs and images faster.

9

Set robots to allow indexing

Go to: Content › Design › Configuration

  1. 1. Click: Edit on your target Store View
  2. 2. Open: Search Engine Robots
  3. 3. Set: Default Robots = Index, Follow
  4. 4. Click: Save Configuration

Why this matters: Ensures your products are crawlable and indexable in production.

10

Enable breadcrumbs on product pages

Go to: Stores › Configuration › Catalog › Catalog

  • Set: Breadcrumbs on Product Pages = Yes
  • Click: Save Config

Why this matters: Breadcrumbs strengthen internal linking and can enhance rich snippets, aiding SEO and navigation.

11

Reindex and flush cache

Via Admin Panel:

  1. 1. Go to: System › Tools › Index Management
  2. 2. Select relevant indexes (e.g., Product EAV, Category Products, Catalog Search) and choose Actions: Reindex Data
  3. 3. Go to: System › Cache Management
  4. 4. If any cache types are Invalidated, select them and click Refresh. Only use Flush Magento Cache if changes do not appear after a refresh

CLI (recommended for production):

SSH to your server and run:

bin/magento indexer:reindex
bin/magento cache:clean
bin/magento cache:flush full_page

Verify indexer modes:

bin/magento indexer:show-mode

Use Update by Schedule in production for heavy catalogs:

bin/magento indexer:set-mode schedule

Why this matters: Reindexing and proper cache refresh ensure your changes are visible on the storefront and in search without unnecessary performance impact.

12

Validate results

  • On the storefront: search for the product name and a synonym you added
  • Open the product page: confirm the URL format, meta tags, and visible breadcrumbs
  • Test an old product URL: verify it 301-redirects to the new URL
  • Over the next weeks: monitor Google Search Console and Admin › Marketing › SEO & Search › Search Terms for trends

For a full checklist, see the Verification section below for technical checks, robots/sitemaps, and structured data tests.

Why this matters: Validation confirms correct implementation and surfaces issues before they impact traffic.

Verification

Use this comprehensive checklist to confirm everything is working correctly:

  • Page Source & Meta Tags
    • View page source on a product page and confirm: a single "link rel="canonical"" points to the product URL without category path
    • Verify meta tags: the title tag and meta description tag match your entries
    • Check image alt text: inspect an image in browser dev tools and confirm the alt attribute is descriptive
  • URL Redirects & Structure
    • Test old URL redirect: try the previous product URL and confirm an HTTP 301 to the new URL (e.g., curl -I https://yourdomain.com/old-url)
  • Robots & Sitemap
    • Robots: visit https://yourdomain.com/robots.txt and ensure rules don't block product URLs; also include "Disallow: /catalogsearch/" to prevent internal search pages from being indexed
    • Sitemap: open your configured sitemap URL (e.g., https://yourdomain.com/sitemap.xml or https://yourdomain.com/media/sitemap/sitemap.xml) and confirm it loads without errors
  • Search Functionality
    • Synonyms: on the storefront, search for a synonym you added and confirm relevant results. Then in Admin go to Marketing › SEO & Search › Search Terms to verify the query was recorded and review Results/Uses
  • Structured Data
    • Structured data: test a product URL in Google's Rich Results Test and ensure Product schema includes name, price, availability, and ratings. If missing, work with your theme/developer to add JSON-LD
  • Performance Tracking
    • Track KPIs weekly: In Google Search Console: impressions, average position, and CTR for key product URLs
    • In GA4/Adobe Analytics: search refinement/exit and purchase rate after search (view_search_results → purchase)
    • In Magento: Marketing › SEO & Search › Search Terms for query volume and results count

Common Issues and Solutions