Why is Shopify not redirecting URLs with %20 in them?

Timed_Ecom
Shopify Partner
39 1 9

Recently someone linked to a collection page of ours and they must have left a space in the link and the page they linked to was our collection page but with %20 at the end of the url. 

I noticed that this collection page was ranking in google and the url that was in google had a %20 in it. I checked the canon and yes the collection page with the %20 is stating that it is it's own canon. 

I checked some other shopify sites and i can see that this is an issue for them as well.

Please view this screenshot as an example

I
 have tried setting up a redirect but shopify is not picking it up and it's not redirecting. 


Has anyone seen this issue before? What work around are there for this? 

Replies 10 (10)

Zworthkey
Shopify Partner
5581 642 1565

@Timed_Ecom 
Hi,
I hope All is good.
In your link you have given space like:

https://xyz .com


s
o it Shows the canonical %20
if you remove the gap into your link so.
it will be settled automatically.

Thank you.


Timed_Ecom
Shopify Partner
39 1 9

Did you actually read my question? 

Zworthkey
Shopify Partner
5581 642 1565

So What do you want?

Timed_Ecom
Shopify Partner
39 1 9

Recently someone linked to a collection page of ours and they must have left a space in the link and the page they linked to was our collection page but with %20 at the end of the url. 

I noticed that this collection page was ranking in google and the url that was in google had a %20 in it. I checked the canon and yes the collection page with the %20 is stating that it is it's own canon. 

 


I know there's a space. I can't remove the space. Someone linked to me with the space. I don't know the website that linked to me with the space. I can reach out and ask them to remove the space but there's a good chance they won't even write back. 

 

I want to know why the %20 is saying it's canon. 

Zworthkey
Shopify Partner
5581 642 1565

Can I get your Store Url?

or It occur while creating the product category.
So check out your Product collection.

I hope it will be helpful for you.
Thank you.

Timed_Ecom
Shopify Partner
39 1 9

Not my store but this is another store with the issue


https://www.jbhifi.com.au/collections/bose-headphones%20

Zworthkey
Shopify Partner
5581 642 1565

if you remove %20 then it never show again

Zworthkey
Shopify Partner
5581 642 1565

/collections/bose-headphones

At the collection of bose-headphones has gap. 
by mistake may be white space will be  given.
If you remove the whitespace from the collection then it would be sort out.

Thank you.

Timed_Ecom
Shopify Partner
39 1 9

Omg.
I'm aware this issue is created because there was a space. 
I'm aware if i remove the space the issue will go away. 

If you actually read my question you would know this. 

I would LOVE to remove the space. I can't because SOMEONE ELSE ON A DIFFERENT WEBSITE linked to my website WITH THE SPACE and now the page WITH THE %20 is ranking in search because the %20 states that it is it's own canonical. 


Thank you for taking the time to give this one a go. 

Zworthkey
Shopify Partner
5581 642 1565

Ya, I Got it.

Thanks for awaring .