Module

Archived
Forum
(read-only)

SEO Lite

ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4

Back to this add-on's main page
View Other Add-ons From Bjorn Borresen

     

Problem with multiple entries with the same name

Support Request

Adpearance, Inc.
Adpearance, Inc.

Hi there,

I have a setup that looks like this:

/something/an-entry

/something-else/an-entry

something and something-else are different channels, and so there are two entries, one in each channel. The difficulty is I’m looking for a custom title on each entry, but I have found that the plugin is looking at segment_2 for the entry, finds the first one and returns it.

Is there any ability to have it filter by channel? Or is there another way I could be doing this?

Adpearance, Inc.
# 1
Adpearance, Inc.

Came up with a fix. Wrapped the SEO Lite code within an {exp:channel:entries channel=”{segment_1}”} and then used the entry_id, as it is unique.