• I’ve set up a site with a static front page and my blog itself is located within /about/news (with the News) page selected in the reading settings.)

    For this I’ve set my permalink to be /about/news/%category%/%postname%

    This is functioning correctly apart from the pagination on the home page is broken. When I go to “older entires” (calling /about/news/page/2) I get a 404 error.

    The “older entries” page functions correctly at the following location: /page/2
    The archive and tag pages also function correctly.

    How can I get the home page pagination to work with my blog location? I have already tried changing the blog URL in the settings by adding /about/news

    With this, when I go to any standard sub page of the website I get an extra /about/news added into the permalink.

    Therefore my news page becomes /about/news/about/news – although the pagination does work correctly from the blog home page!

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • not sure why you would need to put /about/news in your permalink structure
    wouldn’t just
    /%category%/%postname%
    give you what you want?

    Thread Starter boon_

    (@boon_)

    Surely not if I wanted the permalinks to remain consistent?

    If I do as you say then a blog post ends up at /general/post-title when in reality it should fall at /about/news/general/post-title as the blog is inside the about section.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Home page pagination’ is closed to new replies.