r/TechSEO • u/LetAffectionate6565 • 14h ago
Google SERP results now return google.com/goto?url=... links instead of real URLs. How I handled it in n8n
Posting this in case it helps someone hitting the same thing.
The problem I faced when I saw it falling apart: I have an n8n workflow that pulls Google results for site:example.com <keyword> and extracts the URLs for later steps. It worked until the URLs in the organic results stopped being real links.
Every result looked like this:
https://google.com/goto?url=XX...&gsessionid=...
Google now wraps organic results in these /goto redirect URLs. They can't be decoded, so the only way to get the destination is to follow the redirect. Google also throttles how quickly links from the same results page can be followed.
What I tried: I tested Serper, Zyte, SerpApi and DataForSEO. With these API's I built my own resolver: a no-follow request that reads the Location header, a ~30 second wait after the search, and retries for links Google held back. It worked partially, but it was slow and used a lot of credits.
What worked for me: DataForSEO has a SERP API parameter called resolve_goto_urls. When it's set, they follow the redirects on their side and replace the url values with the final destinations. It applies to Live and high-priority tasks, and if a redirect can't be resolved, the original goto URL is returned unchanged.
Has anyone else dealt with this? I'd like to hear how others are handling it, especially if you found a way to get direct URLs from another provider successfully.