How can I set HTTP server response codes in my online store?

Solved

How can I set HTTP server response codes in my online store?

kubrina
Excursionist
45 2 16

Hi Shopify experts,

How do I set HTTP server response codes in Shopify?

For example, I need to set a number of 301 Redirects and probably some 410 Gone codes as well. But I'm not sure how to do it. 

Can anyone help?

Thanks.

AK

Accepted Solutions (2)

r8r
Shopify Partner
2555 327 936

This is an accepted solution.

@kubrina - short answer: unfortunately you can’t.

you can however set up 301 redirects through the interface:

8D659642-C0F2-4BD8-8FCA-CA5083D180AF.jpeg
I would set up 301s for the 410s as well, as otherwise 404s would get reported.

there is an entire thread on this topic here as well.

Hope this helps,
Mario

★ Ja, man kann mich buchen; schreib mir eine Nachricht!
★ Hinterlass gerne ein Like und markiere meine Antwort gegebenenfalls als Lösung. Ich freue ich mich immer über eine Spende an die (Kinder)krebshilfe oder eine kleine Aufmerksamkeit.
Studio Mitte

View solution in original post

kubrina
Excursionist
45 2 16

This is an accepted solution.

Hi @r8r 

Thanks for the clarification.

-AK

View solution in original post

Replies 3 (3)

r8r
Shopify Partner
2555 327 936

This is an accepted solution.

@kubrina - short answer: unfortunately you can’t.

you can however set up 301 redirects through the interface:

8D659642-C0F2-4BD8-8FCA-CA5083D180AF.jpeg
I would set up 301s for the 410s as well, as otherwise 404s would get reported.

there is an entire thread on this topic here as well.

Hope this helps,
Mario

★ Ja, man kann mich buchen; schreib mir eine Nachricht!
★ Hinterlass gerne ein Like und markiere meine Antwort gegebenenfalls als Lösung. Ich freue ich mich immer über eine Spende an die (Kinder)krebshilfe oder eine kleine Aufmerksamkeit.
Studio Mitte
kubrina
Excursionist
45 2 16

This is an accepted solution.

Hi @r8r 

Thanks for the clarification.

-AK

SJA11
Excursionist
25 0 3

So there is no solution for 410 ? I wonder hows that accepted as a solution