Hướng dẫn về WooCommerce SEO

Cách optimize một WooCommerce store cho organic tìm kiếm — điều gì WooCommerce làm theo mặc định, nơi điều này falls ngắn, đó duplicate-nội dung risk map (categories, tags, các thuộc tính, facets), URL structure including đó 10,5 permalink thay đổi, sản phẩm schema, plugin (Yoast so với Xếp hạng Math), và Core Web Vitals.

Xuất bản lần đầu: 25 thg 6, 2026 · Cập nhật lần cuối: 8 thg 8, 2026 · Advanced
Ngôn ngữ

WooCommerce là một free WordPress plugin, không một standalone nền tảng — so bạn control đó toàn bộ stack, mà có nghĩa là đó highest ceiling và đó widest surface cho misconfiguration. Out of đó box điều này cho bạn hợp lệ-nhưng-minimal sản phẩm schema, workable URLs, và một pile of archive trang types (categories, tags, các thuộc tính) đó âm thầm generate duplicate và thin nội dung. Đó real hoạt động là configuration: pick một SEO plugin (Yoast SEO + đó paid WooCommerce thêm-on, hoặc Xếp hạng Math), tránh duplicate schema chặn, noindex đó thấp-giá trị archives, giữ đó /sản phẩm/ /sản phẩm-category/ /shop/ bases, và treat bộ nhớ đệm as của bạn single biggest Core Web Vitals lever.

Evidence for this claim WooCommerce provides configurable product and taxonomy permalink settings and documents the tradeoffs of removing standard URL bases. Scope: WooCommerce on WordPress; actual rewrite behavior depends on server and plugin configuration. Confidence: high · Verified: WooCommerce: Permalinks Evidence for this claim WooCommerce creates product categories, tags, and attributes as distinct product taxonomies that require deliberate content and indexation decisions. Scope: WooCommerce catalog organization; noindex is an editorial SEO choice, not a universal platform requirement. Confidence: high · Verified: WooCommerce: Product taxonomies

Tóm tắt — WooCommerce là free WordPress plugin, so bạn own đểàn bộ stack: highest kỹ thuật ceiling, widest surface cho misconfiguration. Default output là hợp lệ nhưng minimal — basic Product JSON-LD, workable các URL, và đặt của archive types (categories, tags, các thuộc tính, shop) đó generate duplicate và thin nội dung tại quy mô. thực hoạt động: pick một SEO plugin và tránh emitting hai schema chặn; noindex tag/thuộc tính archives; ghi unique category các mô tả; giữ /product/, /product-category/, /shop/ bases (removing them là officially discouraged); và treat đầy đủ-trang + object bộ nhớ đệm as của bạn biggest Core Web Vitals lever. WooCommerce 10,5 changed permalink behavior so deepest category wins — nhưng nó auto-301s old các URL.

Bắt đầu từ nền tảng reality

WooCommerce không phải nền tảng — nó phần lớn-installed ecommerce plugin cho WordPress. đó single fact drives mỗi decision dưới. bạn có trực tiếp access để theme templates, WordPress hooks, URL routing, plugin architecture, và máy chủ itself. Compared để hosted nền tảng, đó far cao hơn ceiling cho kỹ thuật SEO và far wider surface cho getting nó sai.

Đó default output là best described as “valid and workable” (bản dịch) «hợp lệ và workable» — không optimized. WooCommerce emits dữ liệu có cấu trúc đó validates và URL structures đó function. Nhưng hợp lệ schema và qualifying cho rich kết quả là khác nhau các tiêu chuẩn, và một hoạt động URL structure có thể vẫn leak duplicate nội dung. Đó job là closing đó khoảng trống.

Điều gì WooCommerce làm (và không) làm theo mặc định

Làm:

  • Unique URL theo sản phẩm (default base /product/slug/).
  • Native JSON-LD Product schema on single sản phẩm các trang: name, image, description, sku, và offers object (price, priceCurrency, availability, url, seller). Hai filters control nó — woocommerce_structured_data_productwoocommerce_structured_data_product_offer.
  • Category archives (/product-category/), tag archives (/product-tag/), tùy chọn thuộc tính archives, và shop trang (/shop/).

không, theo mặc định:

  • Output brand, aggregateRating, review, gtin/mpn, hoặc hasMerchantReturnPolicy trong sản phẩm schema — những điều này cần plugin.
  • Connect schema vào graph ( connected WebPage → BreadcrumbList → Product structure Google prefers).
  • Fill trong category các mô tả hoặc non-default tiêu đề tags.
  • đặt pretty permalinks — bạn phải configure Settings → Permalinks yourself hoặc WooCommerce các URL sẽ không resolve correctly.

Một hữu ích lịch sử note từ WooCommerce own structured-dữ liệu wiki: prior để 3.5.6, limited dữ liệu là đôi khi output để archives/categories; đó không lâu hơn case, sau Google compliance requirements.

duplicate-nội dung risk map

Đây là nơi WooCommerce stores thực ra lose. nền tảng spins lên overlapping archive các trang từ several sources tại sau khi:

NguồnRiskkhắc phục
Sản phẩm trong multiple category archivesMediumđặt chính category; canonical on sản phẩm trang resolves path
Faceted nav / filter parametersCaoCanonical để sạch URL; noindex multi-filter combos
Sản phẩm tag archivesMediumNoindex qua của bạn SEO plugin
Sản phẩm thuộc tính archivesMedium–CaoNoindex theo mặc định; enable selectively cho cao-demand terms
Loại parameters (?orderby=price)CaoSelf-referencing canonical hoặc parameter exclusion
Pagination beyond sớm các trangThấp–MediumSelf-referencing canonicals — không noindex deep
www so với non-www / http so với httpsCao301 tại máy chủ + canonical

một vài của những điều này deserve emphasis:

  • Thuộc tính archives là silent killer. Color × size × material trên lớn catalog generates hundreds của thin term các trang, phần lớn với zero tìm kiếm volume, overlapping với filtered category các trang. Yoast/Xếp hạng Math consensus là để noindex thuộc tính archives theo mặc định và enable chỉ được ghi lại-demand terms (e.g. /brand/nike/ nếu “brand” là thuộc tính và brand có volume).
  • Faceted nav scales fast. nó well được ghi lại đó filters on trang web của ~700 các sản phẩm có thể balloon vào ~11 000 indexable các URL sau khi parameters nhận appended. canonical strategy phụ thuộc vào filter: single-thuộc tính cao-volume filters có thể earn self-referencing canonical và lập chỉ mục; thấp-giá trị multi-thuộc tính combos nên canonical để parent category hoặc nhận noindexed. (Đây là chung ecommerce faceted-navigation vấn đề — WooCommerce chỉ làm nó easy để generate.)
  • không noindex deep pagination reflexively. Dài-term noindex eventually leads Google để dừng sau links on trang, mà có thể cut liên kết nội bộ equity để các sản phẩm đó chỉ xuất hiện on những điều đó deep các trang. Ưu tiên self-referencing canonicals.

URL structure

WooCommerce offers several permalink shapes: default (/product/slug/), shop base (/shop/slug/), shop base với category (/shop/category/slug/), và custom base. Taxonomy bases default để product-category, product-tag, và rỗng thuộc tính base.

My default khuyến nghị: sử dụng đơn giản /product/slug/ structure. nó ngắn hơn, nó không thay đổi Khi bạn reorganize categories, và nó sidesteps WooCommerce 10,5 behavior dưới.

WooCommerce 10,5 (sớm 2026) changed “shop base with category.” (bản dịch) «shop base với category.» Điều này hiện tại picks đó term với đó hầu hết ancestors — đó deepest category trong đó hierarchy — cho đó URL. MỘT sản phẩm trong cả hai “Electronics” và “Electronics > Phones > Smartphones” (bản dịch) «Electronics > Phones > Smartphones» hiện tại generates /shop/electronics/phones/smartphones/product-name/ thay vì đó shallower path. Đó good news: WooCommerce được xây dựng-trong canonical chuyển hướng tự động 301s đó old URLs để đó new canonical — không manual các chuyển hướng. Đó caveat: liên kết bên ngoài và bookmarks để old URLs có thể briefly 404 trước đó chuyển hướng resolves. Nếu bạn dùng này structure, set một chính category on mỗi sản phẩm.

Không xóa đó URL bases. WooCommerce tài liệu là rõ ràng đó removing /product/, /product-category/, hoặc /shop/ “is not advisable” (bản dịch) «không phải advisable» và có thể lead để “a number of problems with performance and duplicate URLs.” (bản dịch) «một number of các vấn đề với performance và duplicate URLs.» WordPress relies on những base slugs để identify trang types; strip them và bạn force extra processing và tạo ambiguity giữa custom các trang và sản phẩm categories. Đó marginal URL-shortening benefit không worth đó kỹ thuật debt.

Schema và dữ liệu có cấu trúc

Google khuyến nghị JSON-LD (microdata và RDFa là lỗi-prone) và lists six ecommerce structured-dữ liệu types worth implementing: BreadcrumbList, LocalBusiness, Organization, Product/ProductGroup, Review, và VideoObject. nó cũng distinguishes merchant listings (các trang nơi customers có thể buy — nhiều hơn các trường cho shipping, trả về, sizing) từ sản phẩm snippets (các trang nơi họ có thể’t trực tiếp buy — nhiều hơn review các trường), và notes đó satisfying merchant-listing requirements generally làm bạn eligible cho sản phẩm snippets cũng. Google khác khuyến nghị: cung cấp cả hai dữ liệu có cấu trúc on trang Merchant Center feed để maximize eligibility.

native-so với-plugin khoảng trống, condensed:

Thuộc tínhWooCommerce nativeYoast WooCommerce SEOXếp hạng Math (Pro)
Product, name, description, image, skuCó (+ ItemPage, gallery)
offers (price/currency/availability)Có (enhanced)
brand / manufacturerKhôngCó (qua taxonomy)Có (Pro)
aggregateRating / reviewKhôngCó (nếu reviews exist)
gtin / mpnKhôngCó (input các trường)Có (Pro)
hasMerchantReturnPolicyKhôngTùy chọnKhông
BreadcrumbListWC schemaYoast graph (replaces WC)Xếp hạng Math graph

** single phần lớn phổ biến mistake: duplicate schema chặn.** nếu WooCommerce native schema của bạn SEO plugin schema cả hai fire, Google sees hai conflicting Product chặn on giống nhau trang. khắc phục là để disable WooCommerce native output Khi của bạn plugin replaces nó. Một practitioner hình diễn đạt điều này on khoảng 40% của WooCommerce audits — đó number là ngành anecdote, không chính thức stat, so treat nó as directional thay vì precise.

Plugin: Yoast WooCommerce SEO so với Xếp hạng Math

Giữ đó các sản phẩm straight: Yoast SEO là đó free plugin; Yoast WooCommerce SEO là một tách biệt paid thêm-on (khoảng $178,80 USD/năm) đó requires Yoast SEO và adds đó WooCommerce-cụ thể schema và config. Xếp hạng Math, by contrast, ships một WooCommerce module trong của nó free version (với hơn trong Pro).

Điều gì Yoast thêm-on làm để sản phẩm-trang schema, theo Yoast nhà phát triển tài liệu: thay đổi WebPage piece để ItemPage; adds mainEntityOfPage referencing WebPage by ID; sets brand/manufacturer từ taxonomy; sets seller để xuất bản Organization/Person; stitches offers, review, và/hoặc aggregateRating vào graph; unsets datePublished/dateModified từ ItemPage; xóa WooCommerce own breadcrumb schema trong favor của Yoast graph-connected một; và switches checkout trang WebPage để CheckoutPage. Customization chạy qua wpseo_schema_productwpseo_schema_offer filters. Một gotcha worth knowing: aggregateRating chỉ outputs sau khi bạn có tại least một review.

Xếp hạng Math WooCommerce module xử lý duplicate nội dung trực tiếp — theo của nó KB điều này “automatically adds canonical URLs to most of your pages, including product pages, categories, tags, attributes, and more,” (bản dịch) «tự động adds canonical URLs để hầu hết of của bạn các trang, including sản phẩm các trang, categories, tags, các thuộc tính, và hơn,» sets unique các tiêu đề/các mô tả theo sản phẩm và taxonomy, và cho phép bạn set noindex on đó archive types đó tạo duplicate nội dung (paginated các trang, kết quả tìm kiếm, tags, categories, thuộc tính term các trang). Sản phẩm schema (price, availability, ratings, SKU) là tự động; GTIN/MPN/brand là Pro.

Cả hai là good. chọn on budget và preference — chỉ không chạy cả hai, và không let either double lên với WooCommerce native schema.

WooCommerce ships của nó own breadcrumb output (HTML + một standalone schema block). Yoast WooCommerce SEO “Replace WooCommerce Breadcrumbs” (bản dịch) «Replace WooCommerce Breadcrumbs» setting swaps đó cho Yoast breadcrumb, mà là wired vào đó đầy đủ schema graph (WebPage → BreadcrumbList → Product). Xếp hạng Math similarly outputs của nó own BreadcrumbList. Nếu bạn đã enabled breadcrumbs trong either plugin, turn on đó replacement so bạn không end lên với hai breadcrumb sources — đó graph-connected một là hơn hữu ích để Google cho understanding hierarchy.

Core Web Vitals

WooCommerce-on-WordPress là phần lớn performance-variable ecommerce stack: default install on shared hosting với nặng theme có thể fail all three thresholds; tuned install on managed hosting có thể beat phần lớn hosted các nền tảng.

  • LCP (< 2,5s). Thông thường culprits: unoptimized sản phẩm hero image (không WebP, không preload), không trang bộ nhớ đệm, chậm TTFB. DebugBear việc đo lường làm bộ nhớ đệm point vividly: regenerating đầy đủ trang làm khách truy cập chờ over 1,6 seconds, versus ~104 ms sau khi được lưu đệm. Các cách sửa: đầy đủ-trang bộ nhớ đệm, WebP, preload trên—fold sản phẩm image (wp_preload_resources filter, WP 6,3+), CDN cho static assets.
  • CLS (< 0,1). Gallery images không có rõ ràng width/height, muộn-loading fonts (không font-display: swap), và dynamic cart widget injecting nội dung. Các cách sửa: rõ ràng image dimensions, font-display: swap, preallocated space / skeletons cho cart widgets.
  • INP (< 200ms). Big JS bundles từ trang builders và plugin, excessive thêm-để-cart/biến động AJAX, và unoptimized thứ ba-party scripts (chat, reviews, social).

bộ nhớ đệm là single biggest lever. Object bộ nhớ đệm alone có thể cut database các truy vấn by ~86%. WooCommerce-cụ thể catch: đầy đủ-trang bộ nhớ đệm là bypassed cho logged-trong người dùng và anyone với items trong cart (session cookies), so khoảng trống giữa Lighthouse kiểm thử và thực shopper có thể là lớn. WP Rocket và LiteSpeed bộ nhớ đệm hỗ trợ cart-fragment bộ nhớ đệm để soften đó. sane stack: đầy đủ-trang bộ nhớ đệm (WP Rocket / LiteSpeed / Nginx FastCGI) + object bộ nhớ đệm (Redis hoặc Memcached, mà managed hosts như WP Engine, Kinsta, và SiteGround bao gồm) + CDN. phục vụ WebP (WordPress generates nó natively; WooCommerce phục vụ nó theo mặc định on gần đây versions), pre-generate thumbnails, và lazy-load dưới—fold grid images.

Sitemaps và indexability

của bạn SEO plugin generates XML sitemap. Yoast WooCommerce SEO adds sản phẩm gallery images để nó và excludes Cart, Checkout, và My Account (những điều đó là noindexed by WooCommerce đã). Xếp hạng Math free module là WooCommerce-aware cũng.

giữ out của sitemap: Cart/Checkout/My Account, permanently out-của-stock các sản phẩm (cân nhắc noindex + exclusion), filtered/sorted parameter các URL, và bất kỳ tag hoặc thuộc tính archives bạn’ve noindexed. Pagination beyond trang 1 là debated — Google crawl paginated các trang regardless, so I’d lean toward self-referencing canonicals over noindex.

một vài myths để retire

  • “Removing /product/ helps SEO.” (bản dịch) «Removing helps SEO.» Không — WooCommerce officially calls điều này “not advisable” (bản dịch) «không advisable» và điều này gây ra performance và duplicate-URL các vấn đề.
  • “Native schema is good enough.” (bản dịch) «Native schema là good đủ.» đây là hợp lệ nhưng minimal — không brand, aggregateRating, gtin/mpn, hoặc đó connected graph Google prefers.
  • rel=prev/next fixes pagination.” (bản dịch) «các cách sửa pagination.» Google đã dừng dùng những hints lại trong 2019. Dùng self-referencing canonicals.
  • “More attributes = better SEO.” (bản dịch) «Hơn các thuộc tính = tốt hơn SEO.» Enabling archives cho mỗi thuộc tính tạo hundreds of thin các trang. Noindex hầu hết of them.
  • “WooCommerce and Shopify have the same ceiling.” (bản dịch) «WooCommerce và Shopify có đó giống nhau ceiling.» Khác nhau profiles. WooCommerce offers hơn configuration depth tại đó cost of needing hơn expertise; hầu hết comparisons âm thầm benchmark default Shopify so với optimized WooCommerce.

Add an expert note

Pin an expert quote

New person? Create their unclaimed profile at /admin/experts/ → Pin a quote first.