Hreflang for separated store setup
For optimizing SEO, we would need a "hreflang" reference for a product detail page, pointing to the same product on (any) other existing language.
E.g.
a PDP for
abc.shop.de/product/1234
would contain something like
<link href="abc.shop.fr/product/1234" hreflang="fr_FR">
<link href="abc.shop.es/product/1234" hreflang="es_ES">
Best would be to provide this info along the product detail data.
Unfortunately, the given shop setup has a separate persistence for each store, so that one store does (and should) not know anything about other stores and its existing languages.
How can this be solved without coupling the stores? Does somebody faced a similar scenario? Or are there even any Spryker capabilities that would fulfill this requirement? Other ideas?
Best regards
Answers
-
Hi, Ingo!
That's not a unique question in my experience.
If you're using a single DB multistore, then my solution is to create a P&S that will make sure to create a single per DB entity that contains ALL urls of a single product, and each store uses this data to generate the section.
1 -
Hi profuel, thanks for your response.
>Unfortunately, the given shop setup has a separate persistence for each store,
I think this clarifies our project situation … but yes, would love to have it in that "easy" way too …
We now think about having a "common" redis DB, but this also needs a lot of customization and adds coupling as well.
Best regards
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 65 Spryker News
- 872 Developer Corner
- 736 Spryker Development
- 83 Spryker Dev Environment
- 360 Spryker Releases
- 3 Oryx frontend framework
- 33 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 22 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 67 Spryker Safari Questions
- 50 Random