# System Error Page URL issue

**URL:** <https://community.hubspot.com/t/system-error-page-url-issue/69359>\
**Category:** CMS Development\
**Created:** [November 16, 2022, 9:56am UTC](https://community.hubspot.com/t/system-error-page-url-issue/69359 "2022-11-16T09:56:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RJChauhan](https://avatars.discourse-cdn.com/v4/letter/r/ebca7d/32.png) [@RJChauhan](https://community.hubspot.com/u/RJChauhan)\
**Post date:** [November 16, 2022, 9:56am UTC](https://community.hubspot.com/t/system-error-page-url-issue/69359/1 "2022-11-16T09:56:34Z")

</div>

Hi I am facing the issue with 404 error page URL

Currently my error page URL is **domain/blogs/sdfs**

But I need **domain/sdasd**  
No need the **“/blog”** just after domain name bellow the current url of 404 error page i don’t need blogs in this url

 ![RJChauhan_0-1668592539988.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/0/2065787b6873f3686dce1d1bad7ed8829474e2f5.png)

---

<div class="post-metadata">

**Author:** ![BarryGrennan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/barrygrennan/32/97794_2.png) [@BarryGrennan](https://community.hubspot.com/u/BarryGrennan)\
**Post date:** [November 16, 2022, 2:56pm UTC](https://community.hubspot.com/t/system-error-page-url-issue/69359/2 "2022-11-16T14:56:15Z")

</div>

I’m not sure I follow. Why does your 404 page have a url at all?

If I enter [mysite.com/gobbledygook451](http://mysite.com/gobbledygook451) and the page gobbledygook451 doesn’t exist, the 404 page will show, but the url will remain [mysite.com/gobbledygook451](http://mysite.com/gobbledygook451)

Are you using some kind of forwarding in your 404 page template?

* * *

 ![profile2022a.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7273a34ccfe3489fceebc8a36eca751481b59531.jpeg)

**Barry Grennan**

[Freelance HubSpot CMS Developer](https://www.seoanseo.ca?utm_source=HubSpotCommunity)

[Website](https://www.seoanseo.ca?utm_source=HubSpotCommunity) | [Contact](https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity) | [LinkedIn](https://www.linkedin.com/in/barrygrennan)

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [November 20, 2022, 2:17am UTC](https://community.hubspot.com/t/system-error-page-url-issue/69359/3 "2022-11-20T02:17:23Z")

</div>

@RJChauhan I’m also confused by your question - @BarryGrennan is correct that the 404 page will always show the URL of the page that doesn’t exist and results in the error.

---

<div class="post-metadata">

**Author:** ![RJChauhan](https://avatars.discourse-cdn.com/v4/letter/r/ebca7d/32.png) [@RJChauhan](https://community.hubspot.com/u/RJChauhan)\
**Post date:** [November 21, 2022, 7:15am UTC](https://community.hubspot.com/t/system-error-page-url-issue/69359/4 "2022-11-21T07:15:04Z")

</div>

@Jnix284 That’s why I am asking for this , I also created new template for 404 error it still redirect me on **“blog”** as menyioned above  
When I enter a wrong URL like **“[domain.com/sdasd](http://domain.com/sdasd)”** it redirect me **“[domain.com/blog/sdasd](http://domain.com/blog/sdasd)”**  
I also attached the template code screenshot below of new 404 tepmlate you can see there are no redirectin etc through code.  
Do you have any Idea from where I can URL of this template

 ![RJChauhan_0-1669014537173.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/b/4/b4ef790ba90420385622ac46a7a461ac1c853bdd.jpeg)

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [November 21, 2022, 8:37pm UTC](https://community.hubspot.com/t/system-error-page-url-issue/69359/5 "2022-11-21T20:37:19Z")

</div>

@RJChauhan when I try [domain.io/jennifer](http://domain.io/jennifer) - it redirects to the home page, it doesn’t display a 404 or redirect to /blog/jennifer

Have you checked your URL redirects to see if you have something setup for /blog?

Also, have you verified your[templates](https://knowledge.hubspot.com/design-manager/use-system-templates-to-customize-error-subscription-and-password-prompt-pages) are configured for the domain?

---

<div class="post-metadata">

**Author:** ![RJChauhan](https://avatars.discourse-cdn.com/v4/letter/r/ebca7d/32.png) [@RJChauhan](https://community.hubspot.com/u/RJChauhan)\
**Post date:** [November 21, 2022, 7:14am UTC](https://community.hubspot.com/t/system-error-page-url-issue/69359/6 "2022-11-21T07:14:36Z")

</div>

@BarryGrennanThat’s why I am asking for this , I also created new template for 404 error it still redirect me on **“blog”** as menyioned above  
When I enter a wrong URL like **“[domain.com/sdasd](http://domain.com/sdasd)”** it redirect me **“[domain.com/blog/sdasd](http://domain.com/blog/sdasd)”**  
I also attached the template code screenshot below of new 404 tepmlate you can see there are no redirectin etc through code.  
Do you have any Idea from where I can URL of this template

 ![RJChauhan_0-1669014537173.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/b/4/b4ef790ba90420385622ac46a7a461ac1c853bdd.jpeg)

---

<div class="post-metadata">

**Author:** ![BarryGrennan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/barrygrennan/32/97794_2.png) [@BarryGrennan](https://community.hubspot.com/u/BarryGrennan)\
**Post date:** [November 21, 2022, 5:05pm UTC](https://community.hubspot.com/t/system-error-page-url-issue/69359/7 "2022-11-21T17:05:46Z")

</div>

Well I don’t see anything in that code that’d be doing it.

So I’d check the global site header and footer

Click on the cog in your dashboard, scroll down on the sidebar to “Website” and under website click “Pages”

Then in the Site Header HTML section you could paste.

* * *

 ![profile2022a.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7273a34ccfe3489fceebc8a36eca751481b59531.jpeg)

**Barry Grennan**

[Freelance HubSpot CMS Developer](https://www.seoanseo.ca?utm_source=HubSpotCommunity)

[Website](https://www.seoanseo.ca?utm_source=HubSpotCommunity) | [Contact](https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity) | [LinkedIn](https://www.linkedin.com/in/barrygrennan)

---

<div class="post-metadata">

**Author:** ![MattPickle](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mattpickle/32/84631_2.png) [@MattPickle](https://community.hubspot.com/u/MattPickle)\
**Post date:** [March 14, 2024, 9:31pm UTC](https://community.hubspot.com/t/system-error-page-url-issue/69359/8 "2024-03-14T21:31:43Z")

</div>

I had this same issue just now and fixed it by deleting a strange URL redirect that HubSpot had automatically added for some reaons. It was redirecting

https?://www.domain.com(?P \<page\_slug\>(?!/blog)/.\*)?$ to

[http://www.domain.com/blog](http://www.domain.com/blog){page\_slug }

. I have no idea how it got created, but deleting it fixed the issue.
