WordPress.org

Ready to get started?Download WordPress

Forums

Permalink Problem Still Exists Upon 2.6.1 Upgrade (8 posts)

  1. JesseG5
    Member
    Posted 5 years ago #

    Problem: Older Entries and Newer Entries links on index page stopped working after 2.6 upgrade. (Atleast that's what I am thinking caused it- it was working fine before that)

    My older entries will not show up.

    - I am now directed to a Error 404 page in which the URL lists :url/blog/page/2/
    - I have my permalink settings as "custom structure" /%year%/%postname%/ since day one. I want to keep it this way.

    * If I switch to default settings - the old entries show up but then all my other links come up as "no page found"

    I have recently upgraded to 2.6 then to 2.6.1 for the bug fix and still nothing.
    I have added "category" and "tag" in category base and still nothing.
    I have read through over 100 Permalink articles and I still can't make it work.

    Can someone please help me??

  2. JesseG5
    Member
    Posted 5 years ago #

    Can anyone let me know if my htaccess file is correct based on the above information..

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    
    # END WordPress
  3. iridiax
    Member
    Posted 5 years ago #

    Do you have enough posts for a second page? I see a Hello world! Under Construction. post at the bottom of your index page, which looks like it would be your first post.

    Your other permalinks seem to be working, so I'm guessing the problem could be code-related. Try the troubleshooting techniques of switching to the default theme, disabling all plugins, and disabling 3rd party widgets/addons and check after each step to see if the problem goes away.

  4. JesseG5
    Member
    Posted 5 years ago #

    Yes, right now I have all the posts showing on index page until I can get this problem fixed. (I'll post 4 posts and leave the "Hello world! Under Construction" on the second page so we can see what's exactly going on.

    What I would like to have is 3 posts per page which I can do by modifying code. And have the next-previous links sort through the pages.

    This is the code I have in my index file for the posts per page viewing.

    <?php get_header(); query_posts($query_string.'&posts_per_page=4'); ?>

    Tried deactivating the plug-ins no luck.

    I get this feeling it has to do with WordPress not automatically updating the permalink structure. When I look at the above .htaccess file I notice it has the word "blog" Even at that it also specifies "index.php.

    If WordPress was to update my .htaccess file shouldn't it update the path above?

  5. finkyfeke
    Member
    Posted 5 years ago #

    That sounds like my problem. I'm using 2.6.1, and all my permalinks don't work. I've never used an earlier version. Maybe I should downgrade and see if that helps.

  6. JesseG5
    Member
    Posted 5 years ago #

    According to WP they have the fix taken care of when upgrading to 2.6.1. Seems like it's not 100% worked out however. I was on 2.5+ before this. Let me know if it works when you downgrade- perhaps I'll do the same.

  7. finkyfeke
    Member
    Posted 5 years ago #

    ARRRGGHH
    I tried 2.6 and 2.5.1, both with no luck.
    Another thing I noticed (not sure if it makes a difference...) was that the wordpress-generated .htaccess files seem to have weird characters in them when viewed with Windows Notepad. I sorted it out and saved it as utf-8 and it seems the same. Just something I noticed and thought I might as well mention.

  8. finkyfeke
    Member
    Posted 5 years ago #

    Jesse,
    I solved my problem, which seemed to be similar to yours. I explained how here.
    I really hope it'll help you out too.
    Good luck,
    -Richard

Topic Closed

This topic has been closed to new replies.

About this Topic