Yoast SEO
[Plugin: WordPress SEO by Yoast] Page urls are being replaced by their first posts' (1 post)

  1. lianzinho
    Posted 2 years ago #

    My site has some Custom Post Types which I organized in Pages to show them.

    They are like blogrolls, so going to http://root/post-type one can see all the entries of this particular type.

    For each Post Type I have a template file from which the specific page is gathering how to display them...


    Post Type: Agenda
    Page: Agenda -- template --> agenda.php

    So, when going to http://root/agenda I expected the following parameters of the $post object :

    post_name => "agenda"
    post_type => "page"`

    The problem is that Wordprss SEO plugin (v. is changing what is being served.

    After installing it, instead of serving the page it is serving the post type first post... so the cited parameters become:

    post_name => "the_whatever_post_slug"
    post_type => "agenda"`

    Well I don't understand why this is happening, I have a lot of code based on the previous structure and now it's broken. I still want to use the plugin, but I'm seeking to understand what is happening. And how (if possible) could I revert this.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic