All things Shopify and commerce
We have a Shopify store. It has URL structure for blogs like mysite.myshopify.example/blogs/blogname/article-name
To overcome Shopify rigid URL structure and make links more human-readable and memorable we'd like to use the following technique:
let pretty_url_for_blog = window.location.href.replace('/blogs', ''); window.history.pushState({path:pretty_url_for_blog},'',pretty_url_for_blog);
– making site visitors see shorter URL mysite.myshopify.example/blogname/article-name
Is there any reason to think Google could penalize us for this? Which could be the arguments why it's good or bad for SEO? Any thoughts are welcome.
Google will not penalize you for that but it is definitely NOT a solution that will be good for SEO - because:
I understand that you would like to change the fixed Shopify directories. But from an SEO point of view it's a VERY small factor. So, accept Shopify for what it is - don't fight it with bad workarounds, and focus on optimizing all the other SEO-factors. Trust me, that will produce great results.
You could also move the blogging to a WP-solution on a subdomain. Many do that because the blog system on Shopify is not as flexible.
No penalty for this. But it is ways better to live with any rigid url structure, then to build such bypasses.
Think just about computation ressources needed for crawling of Shopware inbuild urls and for crawling of those construction. You can easy check it with monitoring the CPU utilization while rendering of pages with default urls and with such artificial urls. OlansiChina
Don't shoot into own knee. Googlebot can indeed crawl javascript - but nobody said, it would love this.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024