google-webmaster-tools

Is there any possible to get Google Webmaster Tool (GWT) datas using PHP?

社会主义新天地 提交于 2019-11-30 21:52:48
I'm trying to get some datas from Google Webmaster Tool (GWT) , I have searched some of the API Documents and Implements, But they are returning few of the datas only from the GWT. My Needs : Needs to get the datas of the following from GWT, (1). TOP_PAGES (2). TOP_QUERIES (3). CRAWL_ERRORS (4). CONTENT_ERRORS (5). CONTENT_KEYWORDS (6). INTERNAL_LINKS (7). EXTERNAL_LINKS (8). SOCIAL_ACTIVITY After getting these datas, i need to generate the Excel file for each of them. Achieved : I have got few datas from the above and generated into the Excel file.such as, (1). TOP_PAGES (2). TOP_QUERIES (3).

reactjs - fetch as google displays blank page only

最后都变了- 提交于 2019-11-30 21:52:34
I've just coded my first website using reactjs, but when I check how google sees my website, I receive the following result: My HTML file looks like this: <!DOCTYPE html> <html> <head> <title>MySite</title> </head> <body> <div id="root"></div> <script async type="text/javascript" src="index.browser.js"></script> </body> </html> I've deactivated all AJAX-calls for testing, and the ReactDOM.render gets executed right after its js file was loaded. The JS file itself is compiled, compressed and less than 300 KB big (including all libraries like react itself). At this point, I don't understand

reactjs - fetch as google displays blank page only

主宰稳场 提交于 2019-11-30 17:47:36
问题 I've just coded my first website using reactjs, but when I check how google sees my website, I receive the following result: My HTML file looks like this: <!DOCTYPE html> <html> <head> <title>MySite</title> </head> <body> <div id="root"></div> <script async type="text/javascript" src="index.browser.js"></script> </body> </html> I've deactivated all AJAX-calls for testing, and the ReactDOM.render gets executed right after its js file was loaded. The JS file itself is compiled, compressed and

jQuery causing 404 errors in Webmaster Tools on /a directory

不羁的心 提交于 2019-11-29 12:49:59
The Googlebot seems to be crawling up inside my jQuery and creating links ending in /a that don't exist and then reporting them as 404 errors. http://www.mySite.com/a The site validates green at the W3C. The "/a" is coming from inside jQuery itself. Edit: The following is a line of code within jQuery v1.5 and 1.5.2 (the only two I looked inside) <a href='/a' style='color:red;float:left;opacity:.55;'>a</a> For now, I'm redirecting it within htaccess before it gets out of hand... Redirect 301 /a http://www.mysite.com Does anyone know why/how the Googlebot would go inside jQuery? EDIT: I've since

Get Original Referrer URL from Google Search with PHP?

微笑、不失礼 提交于 2019-11-28 20:55:52
I am using $_SERVER['HTTP_REFERER']; , to getting Referrer URL. When I typed in Google search box the q='some text' `https://www.google.com.pk/#hl=en&output=search&sclient=psy-ab&q=some text%2Ftestbulkresponse&oq=some text%2Ftestbulkresponse&gs_l=hp.3...15460.24280.1.25007.30.30.0.0.0.0.325.7136.2-27j3.30.0...0.0...1c.1.8.hp.dAvuch3bBg4&psj=1&bav=on.2,or.r_qf.&bvm=bv.44697112,d.ZWU&fp=980e418276b62e8c&biw=1366&bih=595` but when I get this URL on my website using as $_SERVER['HTTP_REFERER']; the q=null like this `http://www.google.com.pk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved

jQuery causing 404 errors in Webmaster Tools on /a directory

*爱你&永不变心* 提交于 2019-11-28 06:34:39
问题 The Googlebot seems to be crawling up inside my jQuery and creating links ending in /a that don't exist and then reporting them as 404 errors. http://www.mySite.com/a The site validates green at the W3C. The "/a" is coming from inside jQuery itself. Edit: The following is a line of code within jQuery v1.5 and 1.5.2 (the only two I looked inside) <a href='/a' style='color:red;float:left;opacity:.55;'>a</a> For now, I'm redirecting it within htaccess before it gets out of hand... Redirect 301

404 errors on /a folders in Webmaster Tools

断了今生、忘了曾经 提交于 2019-11-27 19:03:32
问题 In Google Webmaster Tools, under crawling errors, my number one 404 error is something called www.domain.com/a There is no such thing in my site and there is no link to it. What is wrong, what does it mean? In the site log, there is no error about 404 error pointing to /a. W3C checker says no error. What can I do? 回答1: It's not you, it has to be the Googlebot. (none of this has to do with php; perhaps somebody can remove the php tag. ) I have eight sites in my Google Webmaster Tools and two

Google sitemap files for Rails projects

强颜欢笑 提交于 2019-11-27 16:51:32
Is there an easy way to create a sitemaps file for Rails projects? Especially for dynamic sites (such as Stack Overflow for example) there should be a way to dynamically create a sitemaps file. What is the way to go in Ruby and/or Rails? What would you suggest? Is there any good gem out there? Add this route towards the bottom of your config/routes.rb file (more specific routes should be listed above it): map.sitemap '/sitemap.xml', :controller => 'sitemap' Create the SitemapController (app/controllers/sitemap_controller): class SitemapController < ApplicationController layout nil def index

Get Original Referrer URL from Google Search with PHP?

♀尐吖头ヾ 提交于 2019-11-27 13:19:21
问题 I am using $_SERVER['HTTP_REFERER']; , to getting Referrer URL. When I typed in Google search box the q='some text' `https://www.google.com.pk/#hl=en&output=search&sclient=psy-ab&q=some text%2Ftestbulkresponse&oq=some text%2Ftestbulkresponse&gs_l=hp.3...15460.24280.1.25007.30.30.0.0.0.0.325.7136.2-27j3.30.0...0.0...1c.1.8.hp.dAvuch3bBg4&psj=1&bav=on.2,or.r_qf.&bvm=bv.44697112,d.ZWU&fp=980e418276b62e8c&biw=1366&bih=595` but when I get this URL on my website using as $_SERVER['HTTP_REFERER'];

Google sitemap files for Rails projects

夙愿已清 提交于 2019-11-26 18:46:29
问题 Is there an easy way to create a sitemaps file for Rails projects? Especially for dynamic sites (such as Stack Overflow for example) there should be a way to dynamically create a sitemaps file. What is the way to go in Ruby and/or Rails? What would you suggest? Is there any good gem out there? 回答1: Add this route towards the bottom of your config/routes.rb file (more specific routes should be listed above it): map.sitemap '/sitemap.xml', :controller => 'sitemap' Create the SitemapController