Suspicious sign in prevented from my php client
-
I'm using php to try access Google web master tools but its now emailing me about a Suspicious sign in prevented. How can I get round this in a way that it wont effect the security of my account?
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://accounts.google.com/ServiceLogin");
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);$data = array('accountType' => 'GOOGLE',
'Email' => 'xxx@gmail.com',
'Passwd' => '***',
'source'=>'PHI-cUrl-Example',
'service'=>'lh2');curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);$hasil = curl_exec($ch);
echo $hasil;
?
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Different URLs for signed in and signed out users
Hello, I have a client that plans to use different URLs for signed in and signed out customers. My concern is that signed in and signed out customers will provide back links to different URLs of the same page and thus split page rank. I'm assuimg the URL for signed in customers won't be fetched by Google and therefore rule out canonicalizing the signed in URL to the signed out version. The solution for me would be to ensure that there is only one URL for each content page, and to instead use cookies to prompt customers to sign up to the service that aren’t already a customer. However, please correct me if I’m wrong in my assumptions. Thanks
Technical SEO | | SEONOW1230 -
My client is using a mobile template for their local pages and the Google search console is reporting thousands of duplicate titles/meta descriptions
So my client has 2000+ different store locations. Each location has the standard desktop location and my client opted for a corresponding mobile template for each location. Now the Google search console is reporting thousands of duplicate titles/meta descriptions. However this is only because the mobile template and desktop store pages are using the exact same title/meta description tag. Is Google penalizing my client for this? Would it be worth it to update the mobile template title/meta description tags?
Technical SEO | | RosemaryB0 -
Google how deal with licensed content when this placed on vendor & client's website too. Will Google penalize the client's site for this ?
One of my client bought licensed content from top vendor of Health Industry. This same content is on the vendor's website & my client's site also but on my site there is a link back to vendor is placed which clearly tells to anyone that this is a licensed content & we bought from this vendor. My client bought paid top quality content for best source of industry but at this same this is placed on vendor's website also. Will Google penalize my client's website for this ? Niche is HEALTH
Technical SEO | | sourabhrana1 -
Do you think my client is being hit for duplicate content?
Wordpress website. The client's website is http://www.denenapoints.com/ The URL that we purchase so that we could setup the hosting account is http://houston-injury-lawyers.com, which shows 1 page indexed in Google when I search for site:http://houston-injury-lawyers.com On http://www.denenapoints.com/ there is <link rel="<a class="attribute-value">canonical</a>" href="http://houston-injury-lawyers.com/"> But on http://houston-injury-lawyers.com it says the same thing, <link rel="<a class="attribute-value">canonical</a>" href="http://houston-injury-lawyers.com/" /> Is this how it should be setup, assuming that we want everything to point to http://denenapoints.com/? Maybe we should do a 301 redirect to be 100% Sure? Hopefully I explained this well enough. Please let me know if anyone has any thoughts, thanks!
Technical SEO | | georgetsn0 -
I have a client whose shop will be down a few days. What would provide less impact to organic search program?
I have a client who is moving their warehouse, and their shop will be down for four days. I have been doing some research on the best ways to handle this and I wanted to get the communities feedback on this. One thought is to have the pages live, but people can't place an order - but this does not provide the best customer experience. Another thought is to just do temporary redirects for the shop pages, to land on the "sorry we are moving" page for customers. Another thought was to do 503 HTTP status codes on the pages and then do a temporary redirect to the landing page. Have any of you experienced this issue? If so, what did you do to minimize the impact to the organic search programs? NOTE: All of their static content will remain in tact. Only the shop/store will be down.
Technical SEO | | smulto0 -
301 Redirect Question for trailing slash & index.php
1. Can you show me how to do a redirect for forhttp://www.exercisebiology.com to http://www.exercisebiology.com/ I want to add the trailing slash. 2. Also how to redirect from http://www.exercisebiology.com/in... to http://www.exercisebiology.com/. When I tried to redirect the index.php last time, I couldn't login to the forums. Everytime when someone tries to login to my forums, it takes them the to the home page. I did it through the hostgator CP. I am thinking someone could help me here. Thank you so much!
Technical SEO | | anoopbal0 -
My clients website od 100% Flash...Will my SEO efforts be wasted?
My client has a Photography website and has an al carte design. It's in Flash and in 3 years only 3 pages of say 50 are indexed. Are my efforts being wasted?Should I redesign the site in an SEO friendly language? Or, if I build out a huge link building campaign it doesn't matter if I am in Flash or not? Thanks
Technical SEO | | AnthonyGrillo0 -
Php to html - change in extension
Hello, What is the code to redirect all the pages of a site from .php to .html extension? Thanks
Technical SEO | | seoug_20051