Apply seo to blog view

  • Question
  • Updated 3 years ago
I have a blog list view called news . This features a list of news stories. I then have individual stories such as news/story1, news/story2 etc. I can apply seo to these individual entries- my question would be how do I apply it to the blog view since no entry corresponds to this?
Thank you
Photo of martin allmanMA

martin allman

  • 11 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Bjørn Børresen

Bjørn Børresen, Company Admin

  • 1148 Posts
  • 39 Reply Likes
Hi Martin,

I would use embeds, see "The Ultimate Setup" in the docs:
http://www.addonbakery.com/docs/expre...

And then for the blog view pages I would use title_override in the template to set the title there.
Photo of martin allmanMA

martin allman

  • 11 Posts
  • 0 Reply Likes
Hi Bjorn,
Is there any problem doing it this way, it seems to work for me?

{if segment_3 ==""}
A directory of quality online food sellers across the uk

{/if}
{if segment_3 !=""}
{exp:seo_lite url_title="{segment_3}"}
{/if}
Photo of Bjørn Børresen

Bjørn Børresen, Company Admin

  • 1148 Posts
  • 39 Reply Likes
No problem doing it that way if that works better for you.