WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Page nav not working: Permalink showing site title (3 posts)

  1. carolineli3
    Member
    Posted 7 months ago #

    The previous/next page navigation does not work on my site. If you click on the next button or the 2 button it should go to http://www.site.com/page/2 but instead goes to http://www.site.com/sitename/page/2 and I get an ERROR404.

    If you hover over the buttons you'll see http://www.site.com/sitename/page/2 but if you alter the URL and go straight to http://www.site.com/page/2 its obviously working.

    In my admin/settings, I have amy permalink custom settings to "post name"

    Anyone know what's going on?

  2. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    What theme are you using?

  3. carolineli3
    Member
    Posted 7 months ago #

    Hi thank you for responding. I figured out how to fix it. The navigation was working on my category pages so I took the nav code from there and put it in my index.

    <?php endwhile; ?>
    <?php paginate_links(); ?>

Reply

You must log in to post.

About this Topic