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:
- Review your sitemaps: Check your sitemap files to ensure they don’t list any URLs containing the
?wpcode-safe-mode=1 parameter.
- Check for internal or external links: Look for any links to safe mode URLs in your site’s content, menus, or from external pages.
- 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.
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