bikashdaga
Newbie
- Feb 23, 2023
- 16
- 1
I have around 10k Not Found (404) links, These pages aren't indexed or served on Google.
While debugging from where these URLs are generated, found out that Google Crawler is creating random URLs based on the articles.
for example, If I have an article on "Python Script for SEO", this particular article has a code snippet
like for example purpose:
now the crawler has created these 404 URLs
Any idea why this is happening? why does Google frame 404 URLs on its own?
Any solution suggestions?
While debugging from where these URLs are generated, found out that Google Crawler is creating random URLs based on the articles.
for example, If I have an article on "Python Script for SEO", this particular article has a code snippet
like for example purpose:
Code:
import React, { Suspense } from 'react'
const LazyComponent1 = React.lazy(() => import('./OtherComponent1'))
const LazyComponent2 = React.lazy(() => import('./OtherComponent2'))
const LazyComponent3 = React.lazy(() => import('./OtherComponent3'))
const LazyComponent4 = React.lazy(() => import('./OtherComponent4'))
const MyComponent = () => (
<div>
<Suspense fallback={<div>Loading...Please Wait..</div>}>
<LazyComponent1 />
<LazyComponent2 />
<LazyComponent3 />
<LazyComponent4 />
</Suspense>
</div>
)
now the crawler has created these 404 URLs
- https://www.example.com/topics/react/python-script-for-seo/Home/OtherComponent4
- https://www.example.com/topics/react/python-script-for-seo/Home/OtherComponent3
- https://www.example.com/topics/react/python-script-for-seo/Home/OtherComponent1
- https://www.example.com/topics/react/python-script-for-seo/Home/OtherComponent2
Any idea why this is happening? why does Google frame 404 URLs on its own?
Any solution suggestions?