Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom permalink structure not recognized #2

Open
phoshenwen opened this issue Feb 18, 2021 · 3 comments
Open

custom permalink structure not recognized #2

phoshenwen opened this issue Feb 18, 2021 · 3 comments

Comments

@phoshenwen
Copy link

Maybe not so much an issue as it is a discussion.

I changed WordPress' permalink structure to be /blog/%postname%, but when pulling the SEO data via graphql I don't see /blog/ reflected anywhere in there. As I am using this plugin for breadcrumbs as well I am technically missing a step in between "Home" and the blogpost title.

I've already downloaded the Yoast Test Helper plugin to clear its internal cache but that didn't help (helped to recognize permalink structure in the past, unrelated to Gatsby & this plugin).

In summary, the url pulled by the plugin correctly reflects the permalink structure, but I am only getting 2 objects in the array, instead of 3.

  "data": {
    "wpPost": {
      "seo": {
        "breadcrumbs": [
          {
            "text": "Home",
            "url": "/"
          },
          {
            "text": "Hello world!",
            "url": "/blog/hello-world/"
          }
        ]
      }
    }
  },

Is there any way to include "blog" in between Home and the blog post?

@DanielRiveraHQ
Copy link

@phoshenwen did you solved this one?

@phoshenwen
Copy link
Author

phoshenwen commented Jun 24, 2021

@DanielRiveraHQ No I have no fix for this currently. Any feedback is welcome

@snibbo71
Copy link

I've actually only just seen this, but I've opened a related issue to do with breadcrumbs as that url is invalid in any case - it needs to be the full URL or Google Search Console will start emailing about badly formed breadcrumbs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants