Screaming Frog can't detect Javascript redirection?
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.
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.