• Resolved Emilio Valdés Reyes

    (@emiliovaldes88)


    Hello,
    Google Search Console is crawling all the website’s URLs by adding the parameter y/?wpcode-safe-mode=1.
    I’ve also noticed that when checking the canonical URL for those pages, they also appear with the parameter.
    This is causing Google Search Console to detect the content as duplicate and not index the pages correctly.

    Is there a way to fix this, or is this normal behavior?

    Thank you very much in advance.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support markomiljanovic

    (@markomiljanovic)

    Hi @emiliovaldes88

    The ?wpcode-safe-mode=1 parameter is intended as an emergency feature in WPCode. It allows site administrators to temporarily disable all custom snippets and regain access to their site if a snippet causes a fatal error. Importantly, this parameter only takes effect if the visitor is logged in as a user who has permission to manage snippets in WPCode; for regular site visitors (including bots like Googlebot), the parameter doesn’t change how snippets are loaded.

    If you’re seeing URLs with this parameter in Google Search Console, it means Googlebot has discovered them—potentially through internal or external links, your sitemap, or if they were shared directly. WPCode itself does not automatically generate or publicly expose these URLs anywhere on your website.

    To fix this, we recommend:

    1. Review your sitemaps: Check your sitemap files to ensure they don’t list any URLs containing the ?wpcode-safe-mode=1 parameter.
    2. Check for internal or external links: Look for any links to safe mode URLs in your site’s content, menus, or from external pages.
    3. Canonical tags: Ensure that your site’s canonical tags always point to the clean, parameter-free version of each page.

    We will make an adjustment in the next version of WPCode to prevent the safe mode parameter from affecting the canonical URL or page indexing for crawlers like Googlebot.

    Let me know if I can provide more info.

    Thread Starter Emilio Valdés Reyes

    (@emiliovaldes88)

    Hello,
    Thank you for your response.
    I’ve noticed a plugin that was causing the configured canonical URL to be ignored.
    WPML SEO: https://wpml.org/documentation/related-projects/wpml-seo/
    link rel=”canonical” href=
    When I uninstalled it and inspected the page, the canonical URL no longer took into account any parameters it had, such as the ?wpcode-safe-mode=1 parameter.

    Thank you so much

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Google Search Console index URL with parameter /?wpcode-safe-mode=1’ is closed to new replies.