Google Webmaster verification

Topics: Administration, General, Troubleshooting
Oct 21, 2011 at 10:33 PM


Sorry if I'm posting this to the wrong section - I am trying to get my Orchard website verified with Google Webmaster central and I can't find a way to do it, tried everything I could think of!

Uploading the .html file to the ftp of my site doesn't work because the .html page only shows up on the ftp but not in the actual http address. And I have no idea where to put in the meta tags because I don't know where the HTML head of the document is. I tried a few different places but it didn't work. I used WebMatrix to customize and publish the site.

Could anyone please tell me whoch folder and file I should put the meta tag into or any alternative method I can use to get my page verified with Google, thanks!

Oct 21, 2011 at 11:01 PM

Copy paste the C:\Users\sebros\My Projects\Orchard\src\Orchard.Web\Core\Shapes\Views\Document.cshtml file to your theme. Edit it. Done.

Oct 22, 2011 at 9:03 PM

Yaay it worked! Thank you so much :)

Jan 27, 2014 at 7:05 AM
Edit document.cshtml to what? Why I couldn't get it work in Orchard 1.7?
Feb 19, 2014 at 5:22 AM
To add the header that Google wants.