Skip to content

SitemapPlugin warning on every startup — add explicit plugin config #39

@SahilKumar75

Description

@SahilKumar75

Problem

Every reflex run prints a warning similar to:

WARNING: SitemapPlugin is not in the plugins list.

This clutters the dev console and can mask real warnings.

Cause

rxconfig.py does not explicitly list SitemapPlugin in its plugins or disable_plugins configuration, so Reflex emits a warning at startup.

Fix

Open rxconfig.py and either:

Option A — enable it explicitly:

import reflex as rx

config = rx.Config(
    app_name="app",
    plugins=[rx.plugins.SitemapPlugin()],
)

Option B — silence it if not needed:

config = rx.Config(
    app_name="app",
    disable_plugins=["SitemapPlugin"],
)

Good first issue

This is a one-line fix in rxconfig.py. Confirm the warning disappears with reflex run locally after the change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdxDeveloper experience improvementsgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions