Forums

WP 2.6.4 - permalinks redirecting to theme 404 page (10 posts)

  1. VTJustinB
    Member
    Posted 2 years ago #

    Ran into a weird issue today with an older WP installation.

    When setting the /archives/[0-9]+ format for permalinks they are 404ing, but inside of WP not on the server. In other words, all links are being funneled to the theme 404 page.

    .htaccess file is writable and correct, permalink settings are normal (and contain standard %category% and %tag% patterns respectively). I tried setting the use_verbose_rules setting in rewrite.php to dump all the rewrite rules to the .htaccess file and it's still 404ing.

    Any ideas?

  2. Samuel B
    moderator
    Posted 2 years ago #

    delete the .htaccess entirely or rename it
    regenerate permalinks

  3. VTJustinB
    Member
    Posted 2 years ago #

    Gave this a shot, and it didn't seem to have any effect.

    Steps taken:
    - rm .htaccess
    - set permalinks back to "archives/%post_id%"
    - links redirected to theme's 404 page

    - mv .htaccess .htaccess_old
    - set permalinks back to "archives/%post_id%"
    - links redirected to theme's 404 page

  4. Samuel B
    moderator
    Posted 2 years ago #

  5. VTJustinB
    Member
    Posted 2 years ago #

    The permalinks are correctly chosen, if that's what was meant by your link.

    See: http://imgur.com/PvIFc.png

    I tried both the third radio button and the explicit /archives/%post_id% custom schema.

  6. muradsweiss
    Member
    Posted 2 years ago #

    Help

    I have been have nothing but problems with thumbnails and the upload folder, well I couldnt fix the part of showing images on my blog, but I somehow I broke my blog on the way:(

    My posts now dont show on the front page -- shows error 404 ??
    The post url on front end is hte same on the back end -- I checked the permalinks and they seem ok?

    Please help me

    PS can I restore the blog to earlier hour?

  7. Samuel B
    moderator
    Posted 2 years ago #

    muradsweiss
    please start your own thread

  8. Samuel B
    moderator
    Posted 2 years ago #

    try
    /%archives%/%post_id%/

  9. VTJustinB
    Member
    Posted 2 years ago #

    I don't see an %archives% structure tag anywhere in the docs--is that undocumented?

  10. Samuel B
    moderator
    Posted 2 years ago #

    it won't work on 2.8.x - sorry
    don't know what else to tell you

Topic Closed

This topic has been closed to new replies.

About this Topic