A user is experiencing issues with verifying their forum on Google Search Console using a theme component. Despite adding the required HTML tag to the theme components and previewing it successfully, the tag disappears once preview mode is exited, preventing verification. The user confirms the issue persists after updating Discourse and checks that the component is added to all default themes. Another user suggests trying DNS verification, but the user notes it’s not available. The issue is resolved when another user points out that one of the themes must be set as enabled by default, which the user then does, successfully fixing the problem. user1 initially struggled with the setup, codinghorror offered an alternative, user1 clarified the DNS limitation, sam asked about theme settings, user1 provided additional details, and sam identified the fix, which user1 confirmed resolved the issue.
I’m not an expert here
But, I think DNS verification is not available for google search console. Here’s a screen shot of the different options I can choose from:
I haven’t checked the “Theme is enabled by default” for any theme.
Before I added “GoogleVerificaton” to “Theme Components” there was a little checkbox, I didn’t check that. Now it’s gone. It only reappears if I remove the “GoogleVerification” component
I already tried a different Theme component to add some menu links back to my homepage with CSS and HTML. Is it possible that I broke something there?
I did perform an update this morning. I didn’t work before and also doesn’t work after the update.
For me it feels like it removes any theme component that I add there. Because the component I created for the custom html and CSS header, worked for a while but then stopped working - so I removed it a couple days ago.
Is it possible that I permanently broke something by adding custom CSS, even if I removed all custom CSS afterwards?