WordPress.org

Ready to get started?Download WordPress

Forums

Home page pagination (3 posts)

  1. boon_
    Member
    Posted 5 years ago #

    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

  2. Samuel B
    moderator
    Posted 5 years ago #

    not sure why you would need to put /about/news in your permalink structure
    wouldn't just
    /%category%/%postname%
    give you what you want?

  3. boon_
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags