Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

SEOstats\Google::getSerps('search_term', 10) returning same domain multiple times (and different results) #142

Description

@jamesspittal

When I do a search on my local computer on my local network using Google Chrome for a specific search term (in incognito mode, searching from Melbourne, Australia), I see search results like:

[1]: http://www.company1.edu.au/internal-page-one
[2]: http://www.company2.edu.au/internal-page-one
[3]: http://www.company3.com.au/internal-page-one
...

When calling SEOstats\Google::getSerps($SearchTerm, 10) from my server (running on AWS in Sydney, Australia), I see similar search results, but rather they look like:

[1]: http://www.company1.edu.au/internal-page-one
[2]: http://www.company1.edu.au/internal-page-two
[3]: http://www.company1.edu.au/folder/internal-page-three
[4]: http://www.company1.edu.au/folder/folder/
[5]: http://www.company1.edu.au/folder/
[6]: http://www.company2.edu.au/folder/folder/internal-page
[7]: https://www.company3.com.au/folder/folder/folder/folder/internal-page
...

In other words, the domain "company1.edu.au" (not the actual domain) appears only once (Position 1) when searched from Google Australia on my computer - but for some reason, SEOstats\Google::getSerps($SearchTerm, 10) returns the same domain (with different internal pages) in the first 5 search results.

I have already checked GOOGLE_TLD and HTTP_HEADER_ACCEPT_LANGUAGE in /vendor/seostats/seostats/SEOstats/Config/DefaultSettings.php (setting them to com.au and en-US,en;q=0.8,en-AU;q=0.6 respectively).

Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions