Polycms Cover 1280x720 1

PolyCMS Plugin: XML Sitemap Setup for Perfex CRM

New landing pages, knowledge posts, and product catalogs inside Perfex CRM often sit undiscovered by search engines and AI crawlers when teams rely on manual URL submissions or static XML files that drift out of sync.

The bundled XML Sitemap plugin in PolyCMS for Perfex CRM generates live, split-indexed XML sitemaps automatically for published content while excluding drafts and private CRM endpoints.

If you run an online catalog alongside CMS content, review E-Commerce SEO & GEO in Perfex CRM: PolyStore Variant URLs, Sitemaps & Schema for variant canonical rules.

Sitemap ControlUnmanaged RiskPolyCMS XML Sitemap Behavior
Entity InclusionDrafts or private stubs exposedIndexes published posts, pages, and enabled types
Storefront URLsQuery-string URLs waste crawl budgetOutputs canonical PolyStore product and category slugs
Lastmod AccuracyStale dates trigger ignored recrawlsUpdates ISO-8601 timestamps on content saves
Index ChunkingLarge XML files time out PHPSplits large inventories into child sitemap indexes
CRM IsolationStaff or client routes leakedExcludes Perfex /admin and /clients paths

1. Activate Bundled XML Sitemap and Select Entities

Open PolyCMS > Plugins inside Perfex CRM and activate XML Sitemap. Select which public post types, taxonomy archives, and storefront entities receive child sitemaps so crawlers focus on canonical pages.

  • Enable pages, blog posts, and primary categories while disabling thin tag archives.
  • Include canonical PolyStore product URLs and exclude filtered search or cart routes.
  • Confirm /sitemap.xml returns HTTP 200 with Content-Type: application/xml; charset=utf-8.
  • Disable third-party sitemap scripts so nothing conflicts on /sitemap.xml.

2. Protect Crawl Budget During Launches and Tracking

Shield unfinished layouts during redesigns using PolyCMS Plugin: Maintenance Mode so crawlers receive HTTP 503 instead of partial markup. Once routes are indexed, pair Search Console coverage with PolyCMS Plugin: Google Analytics.

  • Declare Sitemap: https://yourdomain.com/sitemap.xml inside robots.txt.
  • Mark thank-you and utility pages as noindex so the plugin omits them automatically.
  • Submit the root sitemap index once in Google Search Console and Bing Webmaster Tools.

3. Verify Caching and Nginx/Apache Rewrite Rules

XML sitemaps must update quickly after publishing releases without serving stale caches. Ensure web server rewrites pass /sitemap*.xml requests through Perfex routing rather than searching for static files.

  • Confirm Apache .htaccess or Nginx rewrite rules route missing .xml paths through PHP.
  • Exclude /sitemap*.xml from aggressive edge HTML caching or purge on publish hooks.
  • Inspect raw XML output in a browser to ensure zero PHP notices break parsing.

Common Pitfalls and Quick Fixes

  • 404 on /sitemap.xml: Server treats .xml as a missing file or stale static XML exists. Delete static sitemap.xml and allow CodeIgniter routing.
  • XML parse error from whitespace: A custom hook or theme file echoed blank lines before headers. Strip trailing whitespace in custom PHP files.
  • New posts missing from sitemap: Cached XML did not refresh. Purge PolyCMS cache and confirm post status is Published.

Frequently Asked Questions

Does the XML Sitemap plugin expose private Perfex CRM client or staff URLs?

No. The bundled XML Sitemap plugin queries only published public PolyCMS entities and explicitly enabled storefront catalog records. Internal Perfex CRM routes covering staff administration, leads, invoices, contracts, project boards, and authenticated client portal tickets are completely excluded from generated sitemap indexes.

How does the plugin handle pages marked with noindex meta tags?

Pages, posts, or utility URLs configured with a noindex robots directive inside PolyCMS SEO settings are automatically filtered out of the XML sitemap. Keeping noindex URLs out of sitemaps prevents conflicting crawler signals inside Google Search Console and Bing Webmaster coverage reports.

Do I need to regenerate the XML sitemap manually after publishing a new post?

No. Whenever an editor publishes, updates, schedules, or archives a post, page, or product record inside Perfex CRM, PolyCMS updates the sitemap index dynamically and clears cached XML entries automatically so search engines and AI bots see current URLs right away.

Can the XML Sitemap plugin handle large PolyStore product catalogs?

Yes. Rather than dumping thousands of entries into a single slow document, the plugin splits URLs into structured child sitemaps referenced by a root sitemap index. This keeps memory consumption low on shared or VPS hosting and aligns with Google sitemap size limits.


Comments

Leave a Reply

Your email address will not be published.Required fields are marked *