Back to Blog
GuidesEC-CUBE

Three Options for an EC-CUBE 4 XML Sitemap

Navigation

  • Search OS
  • EC-CUBE

Three Options for an EC-CUBE 4 XML Sitemap

Category
Guides
Reading Time
5 min read
Topic
Japan EC platform guides for search and AI search
Source
Search OS

The EC-CUBE 4 series doesn't generate an XML sitemap by default. This article compares three options (a plugin, a custom build generated by a command or controller, and generation with an external tool) on update tracking, splitting, lastmod, and operational load. It also covers how to choose based on product count and development capacity.

URL
searchos.io/en/blog
Copyright
© 2026 Search OS

A common question from stores built on EC-CUBE 4 is that /sitemap.xml returns a 404 when they try to submit a sitemap to Search Console. A sitemap is the list of page URLs you hand to search engines.

The EC-CUBE 4 series doesn't create an XML sitemap by default. Most Japanese hosted carts generate one automatically, but on EC-CUBE you provide it yourself. There are three options: install a plugin, build your own, or generate it with an external tool. Which one to choose depends on product count, update frequency, and development capacity.

This article compares the three options on update tracking, splitting, lastmod, and operational load. It also covers how to pick the one that fits your shop and what to check after choosing.

Conclusion: Under ten thousand products, use a plugin. Above that or with special requirements, build your own. External generation is a stopgap

Option

Update tracking

Splitting (over fifty thousand URLs)

lastmod

Development

Verdict

Plugin

Automatic (depends on the plugin's spec)

Depends on the plugin

Depends on the plugin

Not needed

Under ten thousand products, standard setup: best fit

Custom build

Automatic (designed yourself)

Free

Free

Needed

Large scale, multilingual, custom URL structure: best fit

Generate with an external tool and host statically

Manual (regeneration required)

Depends on the tool

Value at generation time

Not needed

Temporary measure during migration: limited

EC-CUBE 4 sitemap: 3 options

Navigation

  • Search OS
  • Guide 01

EC-CUBE 4 sitemap: 3 options

Plugin under 10,000 products; custom above that or for special needs

FeaturePluginCustom buildExternal generator
Tracks updatesAuto (per plugin spec)Auto (you design it)Manual regeneration
Splitting, lastmodDepends on pluginFree choiceTool, at generation time
DevelopmentNot neededNeededNot needed
Best forUnder 10,000 items, standardLarge, multilingual, custom URLsStopgap during migration
Rating
POINT
A sitemap is worth what it says today not the day it was made

© 2026 Search OS

Key idea: A sitemap's value is decided by whether it is still correct today, not by the day it was made. A sitemap that doesn't follow product additions and removals keeps handing stale URLs to search engines.

Option 1: Plugin

The EC-CUBE Owners Store has sitemap generation plugins. When choosing one, confirm the following.

  • Supports the EC-CUBE version you use (4.0/4.1/4.2/4.3)

  • Which of products, categories, feature pages, and user-defined pages it includes

  • Whether it outputs lastmod, and if so, whether it reflects the product's update time

  • Whether it splits into a sitemap index above fifty thousand URLs

  • Whether you can configure handling of unpublished and out-of-stock products

  • Whether the plugin is still maintained (last update date)

A plugin whose supported version is old can stop working after an EC-CUBE core update. Check the plugin's last update date before installing.

Option 2: Custom build

If you have development capacity, a custom build is the most flexible. There are two implementation forms.

Form

How it works

Suited to

Dynamic generation (controller)

Generates URLs from the DB on every request

Up to a few thousand products. Always current

Batch generation (console command)

Generates a file on a schedule and serves it statically

Tens of thousands of products or more. Isolates generation load

Requirements for a custom build:

  • Exclude products by publication status (public/private) and products no longer for sale

  • Put the product's update time in lastmod. Don't give every URL the same date

  • Split above fifty thousand URLs or 50MB, and output a sitemap index

  • Include categories, feature pages, and user-defined pages too

  • If you have multilingual or mobile-only URLs, decide how to handle them

Option 3: Generate with an external tool

A crawler-type sitemap generator walks the public site and builds a URL list. You then host it as a static file. No development and no plugin needed. It doesn't follow product additions and removals, though. The moment you forget to regenerate, it goes stale. Keep it as a temporary measure during migration or until a plugin is in place, not a permanent solution.

What to check after choosing

  1. Open the generated sitemap in a browser and confirm it displays as valid XML

  2. The URL count is close to the number of published products and categories

  3. Unpublished and discontinued products aren't included

  4. lastmod differs per product (if all the same, it's effectively meaningless)

  5. Submit in Search Console and confirm the status shows "Success"

  6. Add a Sitemap: line to robots.txt with the sitemap URL

6 checks after preparing a sitemap

Navigation

  • Search OS
  • Guide 02

6 checks after preparing a sitemap

Same for every method

numbercheck_itemdescription
1Opens as valid XMLView in a browser
2URL count near published countCompare with product and category counts
3No private or discontinued itemsCheck the contents
4lastmod differs per productAll identical means effectively useless
5"Success" on GSC submissionSitemaps report
6Sitemap line in robots.txtList the sitemap URL

© 2026 Search OS

It breaks after you set it up

A sitemap breaks even after you set it up. An EC-CUBE core update stops the plugin. The scheduled batch stops running. You add a new page type but don't include it in the sitemap. These things happen in ways that are hard to notice.

Limits per sitemap file

Limits per sitemap file

Beyond the limit, split the file and bundle it with a sitemap index

MetricLimit (1 file)Beyond Limit
URL count50,000 URLsSplit + index
File size50MBSplit + index

Source: Google Search Central "Build and submit a sitemap" (50,000 URLs and 50MB uncompressed per file)

© 2026 Search OS

Search OS continuously checks sitemap generation status, URL count, and the validity of lastmod on existing shops, including those on EC-CUBE. It also looks at which URLs search engines and AI crawlers actually fetch. Gaps between the sitemap and reality are sorted into fix targets. It doesn't replace the work of building the sitemap.

Frequently asked questions

Will my pages be indexed without a sitemap?

Yes, if internal links can be followed. Discovery is slower, though, and updates take longer to be reflected. The more products you have, the bigger the gap.

Did the EC-CUBE 2 series have a sitemap?

The 2 series had a built-in sitemap generation feature. That is why it feels like it "went away" after migrating to the 4 series.

Can I use a plugin and a custom build together?

Two sitemaps that report the same URL with different information (lastmod and so on) contradict each other. Narrow it down to one.

Related reading

References

The site becomes easier to read

The content becomes clearer

The brand gets discovered in more customer questions

See how Search OS works, starting with the product deck.