mijaoh

Screaming Frog can't detect Javascript redirection?

by @mijaoh (112), 6 months ago

When I run the screaming frog the status code of the page was turning 200. However, as I pasted the page URL into the Google, the page was being redirected.

I also found the window.location.href code from the page source, and was told that the code is for Javascript redirection.

It's really odd that SF was able to detect the redirect and turned 200 status code. Anyone have any ideas or guide? Please help me out here.

373 Views
0 Upvotes
1 Reply
1 User
Sort replies:
SammpradaCancerCare
by @SammpradaCancerCare (150), 6 months ago

Screaming Frog is a powerful SEO tool, but it has limitations when it comes to detecting JavaScript redirection for a few reasons:

JavaScript Rendering: Screaming Frog primarily analyzes the HTML of a webpage, whereas JavaScript redirections occur during the rendering phase. This tool doesn't execute JavaScript to follow such redirects.

JavaScript Complexity: Modern websites often use complex JavaScript, which can make it challenging for a crawler to decipher redirection logic embedded in the code.

Dynamic Content: JavaScript can load content dynamically, making it hard for a crawler to predict the final URL.

Single-Page Applications (SPAs): Screaming Frog may struggle to navigate SPAs, where JavaScript heavily controls page navigation.

Alternative Tools: For JavaScript-heavy websites, using tools that can render and process JavaScript, such as Google's own tools or specialized JavaScript SEO tools, is often more effective for detecting and analyzing JavaScript redirections.

Join the forum to unlock true power of SEO community

You're welcome to become part of SEO Forum community. Register for free, learn and contribute.

Log In Sign up