0to9Digital / SEO-Lite-Pro

The most powerfull SEO module for ExpressionEngine.
6 stars 6 forks source link

"OG Type" field is generating the wrong selection #29

Closed zenbug closed 9 months ago

zenbug commented 1 year ago

Using {exp:seo_lite use_last_segment="yes"}, when the user selects an option from the OG Type dropdown, the generated code seems to be outputting the selection offset by one.

Selecting Website generates Book: <meta property='og:type' content='Book' />

Selecting Book generates Music.Song <meta property='og:type' content='Music.Song' />

etc.

jaredchesebro commented 10 months ago

I have also observed this issue.

I have set my homepage to og_type: website but it's outputting book: <meta property='og:type' content='book'>

blakedubose commented 10 months ago

We are having the same issue on a bunch of websites.

jaredchesebro commented 10 months ago

I should also note that I am using entry_id instead of use_last_segment method: {exp:seo_lite entry_id="{layout:entry_id}"}

kyleebustamante commented 10 months ago

Following