Support » Fixing WordPress » Permalinks Randomly Require Reset

  • I have two systems running the same version of a site. One is on my Development server, the other is on a production unit.

    The production unit is a Rackspace VPS.

    I’ve cloned the two systems and they are exactly the same.

    The issue I’m having is the permalinks are perfect, you can make changes, make edits, everything works.

    Then a few days later the whole thing 404’s beyond index.(production)

    So as a troubleshoot I refresh the permalinks. Bam, its all back.

    Now I cant tell if my client is editing pages and that causes them to 404, but would that bring down the ENTIRE site of permalinks?

    My Apache settings on the two systems are the same, and it all works perfectly once reset.

    So what would cause the permalinks to need to be changed?

Viewing 2 replies - 1 through 2 (of 2 total)
  • As an update,

    It’s actually any time a page or post is edited. Just changing content requires this.

    UPDATE:
    RESOLVED

    I turned all the plugins off and the issue went away.
    Narrowed it down to a plugin I wrote (DOH!)

    The issue was my deceleration of custom Taxonomies.
    I copied the code straight from Custom-Post-UI which left the slug field blank:

    register_taxonomy('sections',array (
      0 => 'alerts',
      1 => 'faq',
      2 => 'Testimonials'
    ),array( 'hierarchical' => false, 'label' => 'Sections','show_ui' => true,'query_var' => true,'rewrite' => array('slug' => ''),'singular_label' => 'Section') );

    The correct code:

    register_taxonomy('sections',array (
      0 => 'alerts',
      1 => 'faq',
      2 => 'Testimonials'
    ),array( 'hierarchical' => false, 'label' => 'Sections','show_ui' => true,'query_var' => true,'rewrite' => array('slug' => 'Sections'),'singular_label' => 'Section') );

    Notice the slug array under rewrite. For some reason post edits caused the Permalink structure to glitch out with a blank value.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permalinks Randomly Require Reset’ is closed to new replies.