WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WP 2.0 broke my permalink structure (9 posts)

  1. relativestate
    Member
    Posted 8 years ago #

    In WordPress 1.5, I had the permalink structure /articles/%postname%/ and a Page with a slug of 'articles' which acted as the Blix theme's archives page. i.e. http://relativestate.net/articles/ showed a list of articles, and http://relativestate.net/articles/some-article/ was how you would access it.

    In 2.0, this no longer works. The 'articles' page now conflicts with the post permalinks. http://relativestate.net/articles/some-article/ now 404s. This is strange because the permalink structure /articles/old/%postname%/ works...

    Is there anything I can do to use my old URLs again?

    (If you go to the site now, it will appear to work because I changed the articles Page's slug to 'archives' so things would not break in the interim.)

  2. dylan
    Member
    Posted 8 years ago #

    I'm having a similar problem. My permalink structure was /%category%/%postname%/ but whenever I click on a permalink, after the upgrade to 2.0 I get one of those 404 errors.

    I've deactivated all of my plugins, on the off chance that one of them was the culprit.

    In options > permalinks I set "common options" to the default position, and now my permalinks work, but I consider this a temporary fix. What should I do?

  3. schestowitz
    Member
    Posted 8 years ago #

    I am not too sure that's the cause, but it's worth comparing against the example at: http://trac.wordpress.org/ticket/2169

  4. relativestate
    Member
    Posted 8 years ago #

    Nah... Denis-de-Bernardy's having trouble trying to customize his .htaccess beyond what WordPress generates, and I'm having problems what WordPress does after mod_rewrite does its stuff. I observe the same behavior with the URLs http://relativestate.net/index.php/articles/stuff/ so it isn't even an .htaccess problem...

  5. moshu
    Member
    Posted 8 years ago #

    You may want to check out this thread on the testers list:
    http://comox.textdrive.com/pipermail/wp-testers/2005-December/001618.html

  6. relativestate
    Member
    Posted 8 years ago #

    Thanks, moshu... works now.

  7. dylan
    Member
    Posted 8 years ago #

    Moshu, that fixed it for me, too.

    From http://trac.wordpress.org/changeset/3371 I downloaded the updated functions-post.php and
    classes.php and installed them into /wp-includes/ over the existing ones.

    Thanks a million!

  8. greatbananas
    Member
    Posted 8 years ago #

    I have a very similar problem. It does not work with custom: /%post_id%/%postname%/ . All the other options work fine. I upgraded it to 2.0 from 1.5.2. I have no plugins activated.

    I also tried the "fix" but did not fix my problem.

  9. jalal
    Member
    Posted 8 years ago #

    Yeah, an updated functions-post.php and classes.php has fixed the problem for me as well!

    Yay!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.