• Hi! I see a lot of codes, but I don’t understand exactly how to fix it when I searched.

    I’m running WordPress 2.8 with Permalink Structure (YY/MM/Title)

    my site is http://www.taneyism.com

    When I hit the previous page button which links to http://www.taneyism.com/page/2/, I get a 404 error.

    My .htaccess file looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Can someone please point me in the right direction?

    Thanks a lot in advance! (=

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Set your desired permalink for your blog..

    http://codex.wordpress.org/Using_Permalinks

    And add this code in htaccess file of your blog in order to work with your old posts..

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Thanks,

    Shane G.

    Thread Starter taney

    (@taney)

    Thanks for the response Shane!

    I’m still having no luck after that. All my permalinks work but when I click previous page on the main page, it gives me a 404 error.

    Anyone have suggestions?

    Thread Starter taney

    (@taney)

    I don’t know what’s keeping it from working, but I changed the “Reading Settings” to show at most from ’10’ posts to ‘5’ posts, and it works now.

    Thread Starter taney

    (@taney)

    I got it! It makes sense now! My theme only allows 7 posts on the main page. I only have 9 written posts. Therefore, when it was set at 10, WP will not find anything after 10. By setting it to 7, fixes everything.

    Thanks everyone! (=

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress 2.8 Permalink (YYYY/MM/title) gives 404 Error on Previous Page’ is closed to new replies.