Viewing 15 replies - 16 through 30 (of 36 total)
  • Hi!
    I have the same problem. The Previous/Next links are not shown in the page, but are called in the template using “posts_nav_link()” function. It is strange that the Manage Posts, Comments,… also lack the Next, Previous links. I remember that all the navigation worked in the previous versions of WP (before 2.6, mybe even 2.5), but then it stopped working. i have not made any change in the template files or WP configuration. The links are not working even if I create new clean WP install and fill in new posts. What If this has something to do with the server configuration? Using Apache.
    Regards;
    Luka

    Did a clean install of WP 2.0.11 and Next, Previous links are working. What can I do to make them work in 2.6 or at least upcoming 2.7?

    @jberghem: Read that, tried that, failed that.
    The template is the same since WP 2.0. Somewhere in the development of the WP the navigation stopped working. The template did not change much, at least not in that section. I will rewrite it someday, perhaps that will help.
    What interests me the most is that the navigation inside WP admin area is not working. I can only browse through first page of posts, comments, etc. There is no way for me to get to pages with older posts. So this is not related to my theme.
    However, everything works perfectly if I downgrade WP to 2.0.11. But I really do not want to do that ??

    You can try with these:
    <?php next_post_link(); ?> and <?php previous_post_link(); ?>

    @jberghem: Thanks. I have tried that, but with zero success. I even left the “and” in between the php tags, and that word is the only one displayed on the page. Do you have any insight where the navigation on my admin panel has gone? Please look at the picture at this link: “https://www.bubi.si/wp_admin_panel.jpg“. There you can see I have 251 posts, but there is no navigation how to get to the 7th page of posts. The same story is with comments. I do not have any idea why is that, I have not alter the WP installation in any way. As I said before, everything works with 2.0.11. I think if I manage to figure out why the admin page is not working correctly than the front page will start behaving like it should. I hope you have any insight into what is happening.

    Hmmm. This sort of thing can happen when you upgrade but don’t delete the wp-admin and wp-includes folders from the server first. You really must delete them and not just overwrite them. (I had similar problems with options disappearing on me in the admin area because I had overwritten the folder instead of deleting it.)

    Do backup any files in those folders that you customized if you have any.

    Who knows, this may be the root of your link problem since WP 2.0.11 used <?php next_post(); ?> and <?php previous_post(); ?> which are now depreciated and have been replaced with <?php next_post_link(); ?> and <?php previous_post_link(); ?> The only wp-* folders and files I don’t delete from the server before upgrading are the wp-content folder and the wp-config.php

    I deleted all files from my WP folder, and upgraded to 2.6.3. i uploaded my theme, uploads directory and wp-config.php. The problem is still there. I have only changed the wp-config.php file and locale.php. I hoped that the problem lies within locale.php, but even with the original file the problem is there. Is there any configuration on the server, that might cause this strange behavior? Any change between 2.0 and 2.6 that might cause this? The page is running on Apache, MySql and PHP 5.2.5.

    Are you using a cache plugin like wp-cache or super-cache, did you clear them and your browser cache as well?

    It’s really weird if none of that works. I mean, sure a lot has changed between 2.0 and 2.6 but when you’ve deleted everything from 2.0 there shouldn’t be anymore problems like this.

    I too have it running on Apache, MySQL and PHP5 some things like the permalinks may give you problems if you don’t have certain mod’s enabled in your php.ini but I don’t see how this applies to the next and previous links. It’s worth a try to set the permalinks to the default setting but I don’t know if it’ll help you any. (if the permalinks worked before they should be working now)

    If you have the option of adding a subdomain to your account (like: https://test.bubi.si) where you can do a clean install of WP and see if everything is working like it’s supposed to? That way you can eliminate the server configuration as the problem.

    I can not manage subdomain without help of server admin, so I have set up new WP install into new directory using old domain. New WP 2.6.3 files, old database, new table prefix therefor no data in the tables. I have changed only wp-config.php file to allow access to my database. I did use defauld WP theme. Cleared browser cache, even tried using Google Chrome in Private mode. I entered new posts into this new WP installation. The problem still here. I guess this indicates some server misconfiguration. But where to look. Oh, yes, I did use default link structure. Any idea what to look on the server or what data to post here so somebody could look into this?

    Well it would be the server if the default permalinks would work but pretty permalinks wouldn’t. But since they both don’t work I doubt the server is the issue. Have you looked at and tried all the previous suggestions in this post? Have you tried creating a new .htaccess file as suggested by others?

    Looking back on everything that’s suggested in this post I don’t have a clue what else I could suggest you try.

    rogerr

    (@rogerr)

    My problem is slightly different.

    Previous and Next work perfectly well until I have a set of posts that are in the same category but Private….Then the links refuse to show…any ideas???

    Using 2.6.3

    davex

    (@davex)

    I too found that all of my links that referred to other pages or individual posts in my blog caused a sort of circular logic error and would fail to a 404 or TRY AGAIN page.

    I fixed it (after several hours of searching etc) by

    :: downloaded the current version of WordPress

    :: went to https://YOUR BLOG NAME/blog/wp-admin/plugins.php page and deactivated all plugins

    :: deleted the wp-admin and wp-includes directories in the /blog folder

    :: copied the new WordPress files (not the folder, but it’s content’s) into the /blog directory

    :: went to https://YOUR BLOG NAME/blog/wp-admin/ to check for db error messages

    :: went to https://YOUR BLOG NAME/blog/wp-admin/plugins.php page and RE-activated all plugins

    :: MOST IMPORTANT STEP!!! Went to https://YOUR BLOG NAME/blog/wp-admin/options-permalink.php and made sure DEFAULT is chose under COMMON SETTINGS (mine was set to DAY/TIME) and click SAVE CHANGES

    and it worked better than ever!

    jberghem

    (@jberghem)

    @davex

    :: MOST IMPORTANT STEP!!! Went to https://YOUR BLOG NAME/blog/wp-admin/options-permalink.php and made sure DEFAULT is chose under COMMON SETTINGS

    Yes but some people prefer, and have been using custom permalinks. Changing this permalink back to default creates a whole lot of broken links on other websites that link to your posts or pages using the permalink. I noticed this same problem occurred on my blog after upgrading to 2.6.3

    The previous steps you mention are the proper steps to take when upgrading. That last step may be a solution to this problem, but is not the solution. I somehow get the feeling there is some sort of bug in WP 2.6.3 with the permalinks.

    This is however a completely different problem than the one this post started out with.

Viewing 15 replies - 16 through 30 (of 36 total)
  • The topic ‘Next/Previous Links not working’ is closed to new replies.