We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LG Better Meta - Url segments from child pages

Development and Programming

nolfranklin's avatar
nolfranklin
2 posts
15 years ago
nolfranklin's avatar nolfranklin

Hi all,

I’d first like to mention, LG Better Meta is an absolutely amazing extension for practicing SEO standards.

I am currently running EE 1.6, Structure 2.0 and Better Meta 1.9 and my question is: How do you pull child page “segment_2” information?

My current snippet can only pull the first “segment_1”/parent pages and ignores child page meta information.

{if segment_1}
{exp:lg_better_meta_pl:template url_title="{segment_1}"}
{if:elseif segment_1 && segment_2}
{exp:lg_better_meta_pl:template url_title="{segment_2}"}
{if:else}
{exp:lg_better_meta_pl:template url_title="{segment_3}"}
{/if}

Thank you and take care.

  • Nol Franklin
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.