/blog/
Goal: Everything related to the blog is at /blog/
and below, in a strictly hierarchical fashion:
/ # The Static Home Page integrating links to pages, blog index, particular blog category indices.
/blog/ # The Blog Index Page
/blog/ux/ # A Blog Category Index Page
/blog/ux/feature-proposal/ # A Blog Sub Category Index Page
/blog/hints/ # Another Blog Category Index Page
/blog/categories/ # Optional: The Categories Page. Implementation: Custom slug where custom page/template with Categories block.
# All blogposts sorted beyond that hierarchy:
# /blog/<main-category>/<sub-category>/<blog-title>
/blog/ux/feature-proposal/hotapp-duplicate-file-dialog/
/blog/ux/feature-proposal/hotapp-support-negation-operator/
/blog/hints/hint-two/
/blog/hints/hint-one/
/blog/uncategorized/hello-world/
In a filesystem analogy this can be imagined as:
Failed to achieve this as a WP core only solution and also with your plugin:
Showing all test setups and their outcome which I did to verify/falsify my suspicions/assumptions.
Environment
WordPress 6.4.3 — Vanilla setup on wpsandbox.org
Settings → Permalink: Setup variations that I tried
Setup 1: Standard Category Base + Posts under Category
/%category%/%postname%/
HTTP URL
200 /blog/ # Default Blog Index slug in WordPress
200 /reserved/ # Test page for testing.
200 /category/ux/
200 /category/ux/feature-proposal/
200 /category/hints/
200 /ux/feature-proposal/hotapp-duplicate-file-dialog/
200 /ux/feature-proposal/hotapp-support-negation-operator/
200 /hints/hint-two/
200 /hints/hint-one/
200 /uncategorized/hello-world/
Setup 2: Blog as Category Base + Posts under Category
/%category%/%postname%/
blog
HTTP URL
200 /blog/ # Blog index indeed.
200 /reserved/ # Test page indeed.
200 /blog/ux/
200 /blog/ux/feature-proposal/
200 /blog/hints/
200 /ux/feature-proposal/hotapp-duplicate-file-dialog/
200 /ux/feature-proposal/hotapp-support-negation-operator/
200 /hints/hint-two/
200 /hints/hint-one/
200 /uncategorized/hello-world/
Setup 3: Strictly Hierarchical Blog at /blog with WP Core only
/blog/%category%/%postname%/
blog
HTTP URL
200 /blog/ # Blog index indeed.
200 /reserved/ # Test page indeed.
200 /blog/ux/
200 /blog/ux/feature-proposal/
200 /blog/hints/
404 /blog/ux/feature-proposal/hotapp-duplicate-file-dialog/
404 /blog/ux/feature-proposal/hotapp-support-negation-operator/
404 /blog/hints/hint-two/
404 /blog/hints/hint-one/
404 /blog/uncategorized/hello-world/
Setup 4: Unreserved Slug as Category Base + Posts Hierarchical
/something/%category%/%postname%/
blog
HTTP URL
200 /blog/ # Blog index indeed.
200 /reserved/ # Test page indeed.
200 /blog/ux/
200 /blog/ux/feature-proposal/
200 /blog/hints/
200 /something/ux/feature-proposal/hotapp-duplicate-file-dialog/
200 /something/ux/feature-proposal/hotapp-support-negation-operator/
200 /something/hints/hint-two/
200 /something/hints/hint-one/
200 /something/uncategorized/hello-world/
Setup 5: Reserved Pagename as Category Base + Posts Hierarchical
/reserved/%category%/%postname%/
blog
/reserved
which is a page slug on that system, and all blog-posts still work! Interesting find at least.HTTP URL
200 /blog/ # Blog index indeed.
200 /reserved/ # Test page indeed. Conflict free!
200 /blog/ux/
200 /blog/ux/feature-proposal/
200 /blog/hints/
200 /reserved/ux/feature-proposal/hotapp-duplicate-file-dialog/
200 /reserved/ux/feature-proposal/hotapp-support-negation-operator/
200 /reserved/hints/hint-two/
200 /reserved/hints/hint-one/
200 /reserved/uncategorized/hello-world/
Setup 3b: Strictly Hierarchical Blog at /blog
with plugin
/blog/%category%/%postname%/
blog
/blog/*
HTTP URL
200 /blog/ # Blog index indeed.
200 /reserved/ # Test page indeed.
404 /blog/ux/
404 /blog/ux/feature-proposal/
404 /blog/hints/
404 /blog/ux/feature-proposal/hotapp-duplicate-file-dialog/
404 /blog/ux/feature-proposal/hotapp-support-negation-operator/
404 /blog/hints/hint-two/
404 /blog/hints/hint-one/
404 /blog/uncategorized/hello-world/
Setup 3c: Strictly Hierarchical Blog on root /
with plugin
/%category%/%postname%/
– Doesn’t matter if filled, it is ignored entirely anyhow.
HTTP URL
200 / # Blog index indeed.
200 /reserved/ # Test page indeed.
200 /ux/
200 /ux/feature-proposal/
200 /hints/
200 /ux/feature-proposal/hotapp-duplicate-file-dialog/
200 /ux/feature-proposal/hotapp-support-negation-operator/
200 /hints/hint-two/
200 /hints/hint-one/
200 /uncategorized/hello-world/
Thanks for any hints!
]]>Why tables belonging to woocommerce and wordpress don’t have foreign keys in constraints tab? Even if I generate ER Diagram in DBeaver, the relationships don’t show. Even if I export database to SQL file i dont have Foreign Keys Constraints. Can I somehow get Woocommerce database ER Diagram with relationships shown? I am student and I need that for my project.
Thank for your help.
Why tables belonging to woocommerce and wordpress don’t have foreign keys in constraints tab? Even if I generate ER Diagram in DBeaver, the relationships don’t show. Even if I export database to SQL file i dont have Foreign Keys Constraints. Can I somehow get Woocommerce database ER Diagram with relationships shown? I am student and I need that for my project.
Thank for your help.
Thank you
Regards
]]>also in the edd panel on the backend the “content analysis”
under structured data types it has as its message
No schemas found in the source code of this page.
can you perhaps let me know how to fix this ? thanks in advance
Sometimes a webmaster needs to create a linked QR code on scheme, which are not well-known, but are worked out by the browser software. For example, “lightning:” (lightning network of bitcoin), “lnurlw://”, etc. As I understood by trial, your plugin only creates a link to the QR code if the scheme type is known to it (http, https, mailto) and does not create a link if the scheme is not known to it. This is wrong. Let the webmaster do this and include urls of all types.
]]>