How to verify your ownership of the web server powered by Ghost via Search Console

Since I want to do Verify my ownership of http://www.errong.win/ via Search Console.

Search Console Verify Ownership

I tried to upload the file google9aedadfa5be8a815.html under my site's working directory where I installed via ghost instal command.
but only get 404 error while visiting http://www.errong.win/google9aedadfa5be8a815.html

Solution

Thanks to Nistor Cristian, kevin, vikas.potluri, they replied my thread quickly in ghost.slack.org and I got the issue fixed.

Nistor Cristian
simply include it in your theme and should work
kevin
@Errong add the file to the root of your theme
vikas.potluri
If you're not sure which theme to use, go to the ghost admin panel, download the current theme, drop in your google verification and upload it back to the admin interface

For my case:
I use the default casper theme, its path is :
blog/content/themes/casper/
I moved google9aedadfa5be8a815.html there and then it works.
You do not even need to restart your ghost(ghost restart).

You can use below command to check it.
curl https://www.errong.win/google9aedadfa5be8a815.html
google-site-verification: google9aedadfa5be8a815.html

No comments:

Post a Comment

fixed: embedded-redis: Unable to run on macOS Sonoma

Issue you might see below error while trying to run embedded-redis for your testing on your macOS after you upgrade to Sonoma. java.la...