alt-design / Alt-SEO-Addon

Alt Design SEO addon for Statamic
https://alt-design.net
MIT License
8 stars 6 forks source link

Question about `alt_seo_meta_url` #22

Closed ceesvanegmond closed 1 month ago

ceesvanegmond commented 2 months ago

Hi,

I've noticing that in AltSeo.php https://github.com/alt-design/Alt-SEO-Addon/blob/main/src/Tags/AltSeo.php#L131C42-L131C58 the field alt_seo_meta_url is used. However this field is nowhere to be found. Nor in settings.yaml nor in other config.

Because the field is't found ENV('APP_URL'); is always returned in this getUrl() function. Is there a reason for this? Basically always the homepage is displayed in og:url. Shouldn't alt_seo_meta_url be the alt_seo_canonical_url instead?

Thanks!

Alt-Ben commented 2 months ago

Hey!

Just released the package, v5 compatible and the above has been changed.

Let me know if it's all okay for you guys!

Cheers!

Ben