How to redirect a collections page to another collections page?

Spr123
Explorer
54 4 14

Hi all,

 

Simple question: I want to redirect /collections page number 1 (https://sprixybox.com/collections/fai-da-te-prodotti-medio-piccoli) and send that traffic to /collections page number 2 (https://sprixybox.com/collections/all).

 

I want to do so because collections page number 1 isn't supposed to be viewed. I want anyone who lands on page number 1 to be redirected to page number 2. They are supposed to see page 2, not page 1.

 

 

As a solution, I already went to Online Store -> Navigation -> View URL redirects

It doesn't seem to work because it is stated that /collection urls cannot be redirected to any other url (unless there is some trick?).

 

I tried downloading a few redirect apps with no success either.

The best I could do was try to remove these urls from Google SEO (https://search.google.com/search-console/removals?) however if anyone finds this URL it will still work, and it won't redirect. So this solution is not bullet proof.

 

 

How can I do? I see quite a few people have this problem, and there is no evident solution online so far...

 

Many thanks,

Replies 11 (11)

Spr123
Explorer
54 4 14

Still no replies... Fortunately someone can help me out.

KetanKumar
Shopify Partner
36905 3641 11986

@Spr123 

oh sorry for that issue can you please change url in navigation 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Spr123
Explorer
54 4 14

Hello @KetanKumar  many thanks for the support.

 

As I mentioned, url #1 isn't ever supposed to be viewed (I just needed this collection to group some of my products, and to be viewed in other ways).

url #1 already isn't anywhere to be found in my navigation. My problem is about how to redirect any eventual traffic.

 

Just in case someone manages to land on url #1 (via SEO, other) how can I simply have a redirect to url #2?

 

 

Many thanks in advance!

KetanKumar
Shopify Partner
36905 3641 11986

@Spr123 

oh sorry your mean like This Redirect 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Spr123
Explorer
54 4 14

Hello @KetanKumar , yes, something exactly like this!

Where can I post this code? In which file in "edit code" can I add this? (ie templates, section, etc, and then where after that?).

Where can I add my two urls in this piece of code?

 

 

Many thanks!!

 

Spr123
Explorer
54 4 14

Helloo @KetanKumar let me know if there is a solution to my question.

Thank you very much for your time and support!

Best regards to you.

KetanKumar
Shopify Partner
36905 3641 11986

@Spr123 

oh sorry its redirect that page way to menu

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Spr123
Explorer
54 4 14

Hello @KetanKumar any suggestions what I can do?

 

For example, I do not want people to see this url ever: https://sprixybox.com/collections/all/products

 

Instead I want people to see this one: https://sprixybox.com/collections/all

 

How can I redirect traffic from url 1 to url 2?

 

Thank you very much.

ExpertRookie
Shopify Partner
1518 249 316

Hi @Spr123 ,

 

Give me the URL being redirected and the new URL you want to redirect to

- Was my reply helpful? Please Like and Accept Solution to let me know!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me on expert.rookie.team@gmail.com regarding any help.
Spr123
Explorer
54 4 14

Hi @ExpertRookie thank you for the reply.

Yes.

 

I would like to redirect these urls (i don't want users to see these urls' content):

https://sprixybox.com/collections/fai-da-te-prodotti-medio-piccoli

https://sprixybox.com/collections/fai-da-te-prodotti-piu-grandi

 

 

Redirect always to here: https://sprixybox.com/collections/all

 

Many thanks in advance for your support!

 

ExpertRookie
Shopify Partner
1518 249 316

@Spr123 

 

To fix your issue. I need to add some code. I think you should drop a message via the private message, then I can review and help you

- Was my reply helpful? Please Like and Accept Solution to let me know!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me on expert.rookie.team@gmail.com regarding any help.