[Plugin: WordPress SEO by Yoast] Page urls are being replaced by their first posts'
-
My site has some Custom Post Types which I organized in Pages to show them.
They are like blogrolls, so going to https://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…
So…
Post Type: Agenda
Page: Agenda — template –> agenda.phpSo, when going to https://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. 1.2.8.6) 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.
- The topic ‘[Plugin: WordPress SEO by Yoast] Page urls are being replaced by their first posts'’ is closed to new replies.