Page has unsuccessful HTTP status code 404 at Google Lighthouse

When I visit my site, it returns a 404 status which makes my site poor in SEO. I tried another template pages from Divhunt but it still be 404. My console also log 404 status.

@Pakic
This seems to be a bigger issue. It seems to not load the Body content correctly, which can be seen in the Source code tab of the dev tools:

Screenshot of the Elements tab:


Here the whole DOM is correctly displayed (rendered page).

But when viewing the source code tab, only the head and the site custom code of the is loaded here. The rest of the DOM in the Body tag is missing:

I was working on a project and wasn’t able to get an element by ID on the published because of this. When exporting the code everything works normal.

Here are the console logs: (you can ignore the menu id stuff - I haven’t set this up yet - but the gsap stuff is caused by this.)

This seems to be a clear bug. Could you prioritize this?

1 Like

Hey, this is an SPA website. When you open the source code, you actually see what happened before JavaScript was triggered to generate HTML. All the data is saved as JSON, and when you visit the website as a user, your browser uses that JSON and JavaScript code to generate HTML.

In order to see what google sees, you can add ?prerendering=true at the end.

view-source:https://www.divhunt.com/?prerendering=true

And for targeting elements, when writing JS, did you put event ‘onPageReady’? Can you give me website url so I can check?

How to improve my SEO, i tried a lot of ways but it still be 83, can your team make a video about that @Pakic ?

Hey, whats the website url?

I get template from Divhunt
seo-test.divhunt.art

My sitemap:
@pages

https://seo-test.divhunt.art/ daily 1.0

My robots.txt

User-agent: *

Host: seo-test.divhunt.art

Sitemap: https://seo-test.divhunt.art/sitemap.xml


This is what I get with page insights and lighthouse. Btw, when doing lighthouse test localy, do it from incognito (not logged in), when you are logged in, you are not getting real version of what your users or search engines see. In order for you to be able to work with live preview as an Admin, it needed to be like this, you are served non-cached version as an admin with a bit less stuff, so thats probably the reason why it is reporting seo 83

@igdev

We are also working on a Global Prerender tool for SEO, where basic and improved version will be included with every Divhunt project, which will be more than enough for basic needs. However if you want to achieve maximum SEO performance, there will be a paid option, where we will cache your entire website globally and deliver to search engines full HTML in a milliseconds matter, as well you will have full analytics of prerender, requests and many more options, settings and configuration

This tool will come by the end of month, and this is like the maximum we can achieve to have the best SEO.

Feel free to ask questions if needed.

Will this update also add SEO for translated pages? So It’s possible to have titles, descriptions and such, in other languages? :smiley:

@TheMark

Yes, it will be possible

1 Like

Hi @dejan

Do you know when this tool will be available and SEO translations? :slight_smile:

@Travis

Prerender is already live and doing it’s own magic :smiley:

We will release detailed analytics soon for prerender so you can monitor all crawl requests, speed and more.

For the SEO translations per page, I’ll work on that in the following days, and will try to finish it this weekend.

1 Like

Aamazing news @dejan :star_struck:

Amazing that it’s soon on its way!
It’s the only thing holding back the SEO, and it will be so powerful, once we have this :star_struck:

@TheMark @Travis

Working on this currently, it was bit harder than expected. Will let you know once is done :slight_smile:

Thanks very much for patience.

1 Like

Hey @dejan is this still being worked on, or is it in the pipeline for now? :smiley:

I’m having this issue too, seeing a 404 on my domain in the dev console and when I run lighthouse, I get a message that it was unable to reliably load the page.

I couldn’t gather from this thread that there’s a solution.

Seems like a pretty important bug if its affecting SEO performance for all the websites on divhunt. Is there any update or workaround?


Hey,

use incognito to test lighthouse if you are testing from your browser.
Basically while you are logged in, theres nothing cached, and there are some more functions that are being run in the background that cause that 404 to show.

This will not be a case for visitors of your website, or to search engines. Only to you as logged in admin.

Thanks for the reply. I can confirm that running lighthouse in incognito worked.