You need to sign in to do that
Don't have an account?
NagSDFC
Im not able to verify the my community site in google search console
We have a community and its having public access. we are trying to make the this site content as google searchable. I have tried all the ways to verify the site by Google Console
1. Using Meta data Tag
2. DNS
3. HTML file
4. Writing new VF page for Heager as
<apex:page applyHtmlTag="false" applyBodyTag="false" showHeader="false">
<html>
<head> <meta name="google-site-verification" content="6gVRigIo4j09qSdIjONNEogH1YCIxxxfFITHPbZWnqM" />
<title> My title </title>
</head>
</html>
</apex:page>
But still Im not able to verify my site in google web master tool.
Can any one help me to get my site verified by Google.
Appriciate your help.
Thanks
Nagesh
1. Using Meta data Tag
2. DNS
3. HTML file
4. Writing new VF page for Heager as
<apex:page applyHtmlTag="false" applyBodyTag="false" showHeader="false">
<html>
<head> <meta name="google-site-verification" content="6gVRigIo4j09qSdIjONNEogH1YCIxxxfFITHPbZWnqM" />
<title> My title </title>
</head>
</html>
</apex:page>
But still Im not able to verify my site in google web master tool.
Can any one help me to get my site verified by Google.
Appriciate your help.
Thanks
Nagesh
have you tried these steps from Google search console ?
That's how I verify communities for my clients and how i verified mine in the Google Search Console.
I am facing the same problem. Able to verify sanbox community but not production one.
HTML file
Upload an HTML file to your website
- You can not upload an html file to the root of a Salesforce Communities hosted domain. Everything at the root is redirected to /s/.
Other verification methods
HTML tag
Add a meta tag to your site's home page
- I'm not sure why this doesn't work, though it may be because the User-Agent Google Search Console uses to verify receives a different version of the page from Salesforce's service, ex, Googlebot receives a cached version of the page that can contain additional meta/opengraph fields that the SPA-style version desktop and mobile browsers receive do no. In any event, the HTML tags are not able to be detected, even if the property is configured as yourdomain.tld/s/ in the GSC settings.
Google Analytics
Use your Google Analytics account
and
Google Tag Manager
Use your Google Tag Manager account
- It looks like these won't work for the same reasons above, and/or the everything /s/ for Salesforce has to live under /s/ prevents GSC from reaching it.
Domain name provider
Associate a DNS record with Google
- This one is especially tricky and misunderstood. Salesforce Lighning Communities relies on CNAME records in DNS for the hosting to respond to potential server changes like when servers in a cluster go down or differnt types of redundancy issues. GSC asks that a TXT record be added, but both TXT and CNAME records can not exist for the same domain name, so this is still a no-go.
So, SF support, what can we do?
The HTML tag verification will have a delay because after adding the tag to the head section and publishing, the content snapshot (version served to search engines) should be manually refreshed which could take 24 hours or more. https://help.salesforce.com/articleView?id=networks_seo_snapshot.htm&type=5
I would recommend DNS verification first. That link regarding content snapshots is a good read however because it is a critical lesser-known concept that comes into play when you are trying to set up and verify meta tags (for example).
<apex:page applyHtmlTag="false" applyBodyTag="false" showHeader="false">
tried all sugestions below without luck. Any update on this? Thank you in advance.