Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hey does this script support subdomains? #37

Closed
shoaiyb opened this issue Mar 17, 2024 · 8 comments Β· Fixed by #44
Closed

Hey does this script support subdomains? #37

shoaiyb opened this issue Mar 17, 2024 · 8 comments Β· Fixed by #44

Comments

@shoaiyb
Copy link

shoaiyb commented Mar 17, 2024

It always fail whenever I try to index subdomain, I setup a URL prefix for the subdomain.

πŸ”Ž Processing site: sc-domain:sub.example.com
πŸ” This service account doesn't have access to this site.
❌ No sitemaps found, add them to Google Search Console and try again.
@AntoineKM
Copy link
Contributor

Hey @shoaiyb,

Did you activate these apis:

@AntoineKM
Copy link
Contributor

Okay, I'll do some tests of my own and get back to you.

@shoaiyb
Copy link
Author

shoaiyb commented Mar 18, 2024

@shoaiyb
Copy link
Author

shoaiyb commented Mar 18, 2024

Okay, I'll do some tests of my own and get back to you.

I believe the issue is from the sc-domain thing, isn't it for root domain?

@goenning
Copy link
Owner

no, that can be used for subdomains too. but if your property is a URL Prefix property then you have to remove it. @AntoineKM what you think of improving this? we could try both with/without the sc-domain prefix, then try with https:// as well until we find a property that has sitemaps? lot of people getting confused by that

@AntoineKM
Copy link
Contributor

AntoineKM commented Mar 18, 2024

I did my tests, it works, but you need to have a property on the subdomain on Google Search Console, because it's a different property.

image

@AntoineKM
Copy link
Contributor

ut if your property is a URL Prefix property then you have to remove it. @AntoineKM what you think of improving this? we could try both with/without the sc-domain prefix,

Yes, we can do that!

AntoineKM added a commit to ArkeeAgency/google-indexing-script that referenced this issue Mar 18, 2024
@shoaiyb
Copy link
Author

shoaiyb commented Mar 19, 2024

It works now that I use the patch: git clone --depth 1 --branch "antoinekm/recheck-opposite-property" https://github.com/ArkeeAgency/google-indexing-script.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants