Home›Promotions & Growth›SEO basics: URLs, titles, meta tags, sitemap and redirects

SEO basics: URLs, titles, meta tags, sitemap and redirects

TitanCart ships with the search-engine basics switched on: readable product and category URLs, a title and description field on every product, category and brand, Open Graph tags for link previews, a canonical tag, a Product rich snippet, an XML sitemap and a redirect manager. Two built-in extensions provide them, SEO and Google Sitemap, both included in TitanCart Lite and Pro and both on by default. This article shows where each piece lives, what the storefront actually outputs, how TitanCart behaves next to a dedicated SEO plugin, and which controls on the SEO page do nothing in this release so you do not rely on them.

1. URLs

Storefront addresses are clean by default and do not depend on the SEO extension:

  • Products: /product/your-product-slug/
  • Categories: /shop/category-slug/; a sub-category also answers at /shop/parent-slug/child-slug/
  • The shop index: /shop/ · Brands: /brands/brand-slug/ and /brands/ · Tags: /product-tag/tag-slug/

The prefixes are chosen under Storefront → SEO, General tab, URL Patterns card: Product URLs (/product/, /p/, /item/ or /goods/; the category-based choices are marked coming soon), Category URLs (/shop/, /category/, /catalog/, /c/ or /browse/) and Brand URLs (/brands/, /brand/, /manufacturer/ or /b/). The product and category prefixes cannot be the same. The tag prefix is fixed. Pick the patterns once, before launch: changing them later does not redirect the old addresses, so every link search engines have indexed breaks until you add redirects by hand (section 6).

Each product and category has one slug. Leave it blank and TitanCart builds it from the name, adding -2, -3 and so on if the name is taken. Editing a slug after publishing is safe: TitanCart records a permanent redirect from the old address automatically (section 6).

2. Titles and descriptions: where the fields are

Products. Open the product and switch to the SEO tab (it exists only while the SEO extension is enabled). The SEO card holds SEO name, which is the slug, shown once the product has been saved for the first time. The Meta data card holds Page title and Meta description, and the Google rich snippets preview card sketches how the result might look. On the Products list, Edit Selected can set Meta Title and Meta Description in bulk, and the CSV import maps the same two columns (see Bulk CSV import).

Categories. The category form has URL Slug, Meta Title and Meta Description, whatever the extension state.

Brands. Under Products → Attributes, open the attribute whose purpose is Brand / Manufacturer and then a brand; its page has SEO name (address), Page title (“Browser tab title — blank uses the brand name”) and Meta description (“Blank uses the start of the description”).

Images. Every product image has an Alt text box in the editor; it saves when you click away. Fill it in: an image without alt text is output with an empty alt attribute, not the product name.

There are no SEO fields for tags or for ordinary WordPress pages, and no meta keywords field (search engines stopped reading that tag years ago).

3. What the storefront outputs

The browser title is the item’s Page title, or its name when that is blank, followed by WordPress’s separator and your site name (the separator and site name come from WordPress, under Settings → General). Fixed pages use fixed titles: Shop, Brands, Cart, Checkout, Order Received, My Account, and “Search: …” on search results.

The meta description is the item’s Meta description. When that is blank, a product falls back to its short description, then to the first 160 characters of the description; a category falls back to its description; the shop page uses the site tagline.

Link previews for Facebook, LinkedIn, Slack and the like come from Open Graph tags (title, description, type, URL, site name and the product’s main image) and the matching Twitter card tags, built from the same fields. A canonical tag points each product, category, shop, tag and brand page at itself. Because a sub-category answers at two addresses, link to the short /shop/child/ form consistently; that is the one the sitemap lists.

Rich snippets. Each product page carries a schema.org Product block: name, description, images, the product code, and when the product has a price an Offer with price, currency and availability (in stock, back-order, pre-order or out of stock). Once a product has approved reviews, the average rating and count are added, which is what makes stars appear in results (see Product reviews). The [titancart_faq] shortcode marks its questions up as an FAQ page as well. Breadcrumb and brand markup are not included in this release. Paste a product URL into Google’s Rich Results Test to see what it reads.

4. The XML sitemap

The Google Sitemap extension serves https://your-store.com/sitemap-titancart.xml. It lists the home page, every active product (one address per product, even when it has variations), every active category, brands that have products, your published WordPress pages and the shop page, each with a last-modified date. It is separate from WordPress’s own /wp-sitemap.xml, which still exists for posts; submit both.

  1. Open Storefront → Sitemap. It should read Sitemap is active and show the Sitemap URL; View Sitemap opens the XML. If it reads Sitemap extension is disabled, go to Extensions → Installed Extensions and enable Google Sitemap.
  2. In Google Search Console, open Sitemaps, paste the URL and submit. Do the same in Bing Webmaster Tools.
  3. Check Settings → Reading in WordPress: while “Discourage search engines from indexing this site” is ticked, TitanCart does not advertise the sitemap in robots.txt and search engines will stay away. Untick it on launch day.

To change what is listed, open the extension’s settings from the gear on its row under Installed Extensions: for Products, Brands, Categories and Pages you can untick Include … in sitemap and set Change frequency (daily by default, weekly for brands) and Priority (0.5). Disabled and hidden products and categories are never listed.

5. Using a dedicated SEO plugin

TitanCart’s meta description, Open Graph and Twitter tags step aside automatically when Yoast SEO, Rank Math, SEOPress or All in One SEO is active, so those plugins take over social and description tags without a duplicate. Three things do not step aside: the browser title, the canonical tag and the Product rich snippet. If you see two canonical tags or two Product blocks in a page’s source, switch off the matching feature in the other plugin. The SEO plugin’s own product fields will not know TitanCart’s products (they are not WordPress posts), so keep writing titles and descriptions in TitanCart. Stores migrated from WooCommerce keep their Yoast or Rank Math titles and descriptions: the importer copies them into TitanCart’s fields (see Migrating from WooCommerce).

6. Redirects

Automatic. Renaming a product’s or a category’s slug creates a permanent (301) redirect from the old address to the new one; rename again and the chain is collapsed so the oldest address still lands on the current page. Brand slug changes and URL-pattern changes get no automatic redirect.

Manual. Storefront → SEO, URL Redirects tab, + Add Redirect: enter the From URL (a path such as /old-page/), the To URL (/new-page/, inside your site) and the Redirect Type, 301 — Permanent or 302 — Temporary. The table shows From, To, Type, a Hits counter and a Status you can switch between Active and Off. Matching is on the exact path (a trailing slash and any query string are ignored); there are no wildcard or pattern redirects. Redirects fire when a product or category slug is not found and on any WordPress 404, so they also cover pages that never belonged to TitanCart. Use this after changing a URL pattern and when retiring a product you do not want to return a 404 for.

7. Settings on the SEO page that do nothing yet

The General tab also shows Canonical URLs, Trailing slash, Noindex filter pages and a Default Meta Templates card with variables such as {product_name} and {site_name}, and there is a Robots.txt tab. In this release they are saved but not read: the canonical tag is always sent, filtered and sorted listings carry no noindex, the fallbacks in section 3 apply instead of the templates, and the robots.txt text is not served (WordPress’s own virtual robots.txt is, with the sitemap line added). They are listed here so you do not spend time on them; this page will be updated when they are wired.

Checklist before launch

  • URL patterns chosen (section 1) and the shop reachable at /shop/.
  • Page title and Meta description written for your top categories and best sellers; alt text on product images.
  • “Discourage search engines” unticked; sitemap submitted to Search Console and Bing.
  • If you run Yoast, Rank Math, SEOPress or All in One SEO, their canonical and Product schema features turned off for TitanCart pages.
  • Redirects added for any address that changed during setup.

Troubleshooting

  • No SEO tab in the product editor. The SEO extension is disabled; enable it under Extensions → Installed Extensions. Clean URLs and redirects keep working either way.
  • Product pages return 404 after a change. Open Settings → Permalinks in WordPress and click Save Changes once to rebuild the rewrite rules.
  • A deleted category’s address shows the shop page instead of a 404. That is current behaviour; add a redirect to the replacement category.
  • Search Console reports duplicate canonical tags. Another SEO plugin is also sending one; see section 5.
  • The sitemap is missing products. Only active products are listed, one URL per variation group. Check the product’s status and the Include setting.

See also

Previous
Promotions & coupons
Next
Email Campaigns