WordPress.org

Ready to get started?Download WordPress

Forums

Getting 404 eroor on clicking "Next" button for "page 2, 3, ect" (3 posts)

  1. phreshcc
    Member
    Posted 3 years ago #

    Hi,

    I have a self-modded theme modeled after grid-a-licious. everything thing seems to work fine, except for the "Next Page" option.

    On the index page the Next button works as it's supposed to. However, when viewing post by category or tag view if there are more than 20 posts and the "Next" button clicked (/videos/page/2), it bounces to the 404 page.

    I'm at my wits end trying to figure this out. Any assistance would be appreciated.

  2. phreshcc
    Member
    Posted 3 years ago #

    Thanks. I figured it out. The links I had set up for the different categories didn't have the word "category", so /videos/page/2 didn't work but /category/videos/page/2 works perfectly.

  3. jaumesala
    Member
    Posted 3 years ago #

    Did you solved the problem? It happens exacly the same to me.

    I have to add /category/cat_name/page/2

    To make it work.

    I solved this problem lately adding this code at functions.php

    remove_filter('template_redirect','redirect_canonical');

    If I found the solution I will tell you.

Topic Closed

This topic has been closed to new replies.

About this Topic