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

Schema type BreadcrumbList showing home page subdirectory as URL #37

Open
spaskovich opened this issue Mar 11, 2019 · 0 comments
Open

Comments

@spaskovich
Copy link

I currently have wordpress setup in a subdirectory ( /wordpress1 ) of my web root.

The BreadcrumbList has the URL (@id) as the subdirectory instead of the domain root. It should be showing just the domain root (as it exists everywhere else).

For example:

`

--
  | <script type="application/ld+json">{
  | "@context": "http://schema.org",
  | "@type": "BreadcrumbList",
  | "itemListElement": [
  | {
  | "@type": "ListItem",
  | "position": 1,
  | "item": {
  | "@id": "https://www.savingsbonds.com/wordpress1",
  | "name": "Home"
  | }
  | },
  | {
  | "@type": "ListItem",
  | "position": 2,
  | "item": {
  | "@id": "https://www.savingsbonds.com/infocenter/",
  | "name": "Infocenter"
  | }
  | },

`

Please let me know if you require any additional details.

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

1 participant