Skip to content
This repository was archived by the owner on Jun 21, 2022. It is now read-only.

Single posts routes #80

@ghost

Description

I have this permalink structure /%year%/%monthnum%/%day%/%postname%/

and noticed that when I click on a standard post link, eg.
http://localhost:8888/wp1/2016/03/23/test-3/

and refresh that page, the loading bar never disappears and console throws an error:
http://localhost:8888/wp1/wp-json/pages/2016/03/23/test-3/ 404 (Not Found)

It works if I go to a standard page instead of a post, eg.
http://localhost:8888/wp1/sample-page/

• Is there a specific reason the router uses /pages/ on posts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions