# Wrong status code on amp-\>non-amp redirect

**URL:** <https://community.hubspot.com/t/wrong-status-code-on-amp-non-amp-redirect/116160>\
**Category:** Content Strategy & SEO\
**Tags:** content-seo\
**Created:** [September 11, 2024, 12:41pm UTC](https://community.hubspot.com/t/wrong-status-code-on-amp-non-amp-redirect/116160 "2024-09-11T12:41:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![EOrlov](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/eorlov/32/196616_2.png) [@EOrlov](https://community.hubspot.com/u/EOrlov)\
**Post date:** [September 11, 2024, 12:41pm UTC](https://community.hubspot.com/t/wrong-status-code-on-amp-non-amp-redirect/116160/1 "2024-09-11T12:41:24Z")

</div>

After disabling AMP on CMS level old amp-ed URLs are redirected to standard URLs with 302, instead 301.

Desperately need a fix - this is a hugh SEO issue, rankings go lost.

---

<div class="post-metadata">

**Author:** ![kennedyp](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@kennedyp](https://community.hubspot.com/u/kennedyp)\
**Post date:** [September 11, 2024, 5:33pm UTC](https://community.hubspot.com/t/wrong-status-code-on-amp-non-amp-redirect/116160/2 "2024-09-11T17:33:26Z")

</div>

Hey @EOrlov! Thanks for your post.

I understand your web pages are now using a temporary redirect after disabling accelerated mobile pages. When was AMP disabled? Also, can you share an example of the current redirect and what you’d expect instead? I am happy to verify why we are seeing this behavior.

Best,  
Kennedy

---

<div class="post-metadata">

**Author:** ![EOrlov](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/eorlov/32/196616_2.png) [@EOrlov](https://community.hubspot.com/u/EOrlov)\
**Post date:** [September 12, 2024, 7:37am UTC](https://community.hubspot.com/t/wrong-status-code-on-amp-non-amp-redirect/116160/3 "2024-09-12T07:37:05Z")

</div>

[link](https://wohnen-und-finanzieren.de/blog/hauskredit?hs_amp=true)

---

<div class="post-metadata">

**Author:** ![kennedyp](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@kennedyp](https://community.hubspot.com/u/kennedyp)\
**Post date:** [September 18, 2024, 5:38pm UTC](https://community.hubspot.com/t/wrong-status-code-on-amp-non-amp-redirect/116160/4 "2024-09-18T17:38:49Z")

</div>

Thanks, @EOrlov! After disabling AMP, a 302 temporary redirect to the canonical non-AMP page is expected. Check out [this Google documentation](https://developers.google.com/search/docs/crawling-indexing/amp/remove-amp#:~:text=Configure%20your%20server%20to%20return%20either%20an%20HTTP%20301%20Moved%20Permanently%20or%20302%20Found%20response%20for%20the%20removed%20AMP%20page.) for more context. 😊

---

<div class="post-metadata">

**Author:** ![EOrlov](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/eorlov/32/196616_2.png) [@EOrlov](https://community.hubspot.com/u/EOrlov)\
**Post date:** [September 26, 2024, 12:45pm UTC](https://community.hubspot.com/t/wrong-status-code-on-amp-non-amp-redirect/116160/5 "2024-09-26T12:45:50Z")

</div>

After disabling of AMP , we set up manual 301 redirects. But neverthenless they don’t work properly and send 302.

Why manual redirects don’t work? Does HS has a solution? This is an obvious bug.

In the cited Google documentation is stated both 301 and 302 are possible. But as it is known, 302 produces remaining the previous url in index, which is absolutely counterproductive in terms of SEO.

---

<div class="post-metadata">

**Author:** ![kennedyp](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@kennedyp](https://community.hubspot.com/u/kennedyp)\
**Post date:** [October 1, 2024, 9:58pm UTC](https://community.hubspot.com/t/wrong-status-code-on-amp-non-amp-redirect/116160/6 "2024-10-01T21:58:03Z")

</div>

Thanks for that additional context @EOrlov. From what I understand, a 302 is expected from HubSpot when disabling AMP since the 301 or 302 are acceptable. Can you provide more details or documentation about why you specifically want a 301 instead of a 302? From my understanding, 301 vs 302 shouldn’t affect your SEO rankings or crawling budget. The only crawling budget concern I see[mentioned by Google](https://developers.google.com/search/docs/crawling-indexing/large-site-managing-crawl-budget) is long redirect chains. Any additional context you have as to how that affects your SEO will help us out!  
To our experts @danmoyle & @Sam62 do either of you have insight here? Thanks!!

Best,  
Kennedy

---

<div class="post-metadata">

**Author:** ![EOrlov](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/eorlov/32/196616_2.png) [@EOrlov](https://community.hubspot.com/u/EOrlov)\
**Post date:** [October 2, 2024, 7:54am UTC](https://community.hubspot.com/t/wrong-status-code-on-amp-non-amp-redirect/116160/7 "2024-10-02T07:54:58Z")

</div>

There isn’t a question, what status code is right or wrong. The issue is, that for amp pages manually defined redirects with certain status code dont work.
