Error page does not return 404 response code

Hi,

I have setup my web site with hubspot content/web pages and created a 404 page for any unavailable paths. When the user tries to access a page that do not available, it is showing the 404 page but with 200 as the response code. How can I set this return code to 404?

@DMuthuhewa - just making sure you are editing the system response templates for this theme? And that the right page is configured in your content settings.

Steve

@DMuthuhewa Can you share an example?

Hi @DMuthuhewa,

Just to confirm, are you referring to a 404 page OR template?

Because system pages on HubSpot are not editable pages, but they’re templates applied from Content Settings.