• Hi, how can I call manually for a certain meta of a page.

    currently I have this kind of setup where page

    my life
    = todo
    = photos
    = videos
    = blog

    currently this page has page+sub pages setup on the page section of wordpress. but I call all this pages in one page only under my life using add_rewrite_rule due to each type has its own posttype and different structure of url

    add_rewrite_rule('mylife/([^/]+)/?$','index.php?page_id=21&posttype=$matches[1]','top');
    add_rewrite_rule('mylife/([^/]+)/archive/([0-9]+)/([0-9]+)/?$', 'index.php?page_id=21&posttype=$matches[1]&mm=$matches[3]&year=$matches[2]','top');
    add_rewrite_rule('mylife/([^/]+)/archive/([0-9]+)/([0-9]+)/page/([0-9]+)/?$', 'index.php?page_id=21&posttype=$matches[1]&mm=$matches[3]&year=$matches[2]&paged=$matches[4]','top');

    all of those page renders the metadetails on the “my life” page only which I have said it need to contain in one page only.

    how can I call the metadetails of yoast from the pages I created to apply in other pages meta?

    thanks

    https://www.ads-software.com/plugins/wordpress-seo/

  • The topic ‘call manually for page yoast meta data?’ is closed to new replies.