Canonical URL for Alloy blog posts

When using the pretty URL feature, a search engine sees dublicated content:
https://einfach-gute-seiten.de/tips/5-grnde-warum-ein-webdesigner-sein-geld-wert-ist
And
https://einfach-gute-seiten.de/tips/?id=5-grnde-warum-ein-webdesigner-sein-geld-wert-ist

How can we tell Alloy to use a canonical URL? If I add a canonical info to the main blog page, it will be used for every blog page generated. If I do this, all blog pages are marked as not relevant as the canonical leads to the main blog page.

Thanks,
Jan

You asked me on GitHub where to send these when I closed the requests in the Foundry request tracker, and I said you could email them to me. I’ll note them down for possible future features.

I’ll delve into the details later when I’m back in the office.

You cannot. That would need to be built in to Alloy. This will be some work though, and won’t be something that is added immediately. It is already on my own todo list from your previous request of this feature. :wink:

2 Likes