Support » Plugin: Custom Permalinks » 404 ERROR at 3.3.1 any version of Custom Permalinks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Bogieknight

    (@bogieknight)

    Not wishing to hijack your post but I’m having the same issue. Hopefully someone in the know will shed some light on this.

    gloria_munoz

    (@gloria_munoz)

    Same error…any help?

    gloria_munoz

    (@gloria_munoz)

    Hi!

    Look what I’ve found just after post here!

    http://wordpress.org/support/topic/changing-permalinks-gives-404-error?replies=5

    That works for me!

    Bogieknight

    (@bogieknight)

    Hello Gloria,

    Thanks for the tip. I tried it but unfortunately it didn’t work for me 🙁

    nike2000

    (@nike2000)

    127.0.0.1

    (@127001-1)

    Hey guys,

    I have a solution. Get the version 2.7.9 and replace line #161 with this SQL query:

    $sql = "SELECT $wpdb->posts.ID, $wpdb->postmeta.meta_value, $wpdb->posts.post_type FROM $wpdb->posts ".
    "LEFT JOIN $wpdb->postmeta ON ($wpdb->posts.ID = $wpdb->postmeta.post_id) WHERE ".
    " $wpdb->postmeta.meta_key = 'custom_permalink' AND ".
    " $wpdb->postmeta.meta_value != '' AND ".
    " $wpdb->posts.post_status = 'publish' AND ".
    " ( $wpdb->postmeta.meta_value = LEFT('".mysql_escape_string($request_noslash)."', LENGTH($wpdb->postmeta.meta_value)) OR ".
    " $wpdb->postmeta.meta_value = LEFT('".mysql_escape_string($request_noslash."/")."', LENGTH($wpdb->postmeta.meta_value)) ) ".
    "ORDER BY LENGTH($wpdb->postmeta.meta_value) DESC";

    this works for me.

    Bogieknight

    (@bogieknight)

    Hi 127,

    When you say ‘version 2.7.9’ do you mean WP version or custom permalinks version? Sorry if this seems like a banal question, but I’m not very accomplished in this area!

    127.0.0.1

    (@127001-1)

    You should use version 2.7.9 of the plugin, of course 😉

    Bogieknight

    (@bogieknight)

    I gave that a go but it didn’t work. What I did notice though was whatever I put in the ‘custom structure’ box it failed to work.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘404 ERROR at 3.3.1 any version of Custom Permalinks’ is closed to new replies.