This topic has 7 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #176346
     philippehenri12
    Participant

    Hi
    Hope someone can help here. I get plenty of 404. I could reproduce it. Here is how:

    I make a post in mysite/activity… (with no attachment !!) – using buddypress

    when debugging I see that after the post, “wp-includes/class_wp_rewrite.php” adds this rule :

    [^/]+/([^/]+)/?$ index.php?attachment=$matches[1]

    then I paste (or click) to get this url : “…mysite/my-account/edit-account” and it generates a 404 error.

    when debugging i find that the urls are being transformed by the above rewrite rule and become:

    http://mysite/my-account/edit-account/?attachment=edit-account

    which generates a 404 ? ? (ALL THE TIME)
    ???
    Can someone help, it happen all the time when doing this sequence !! ps: the line adding the wrong regex in is : “$subquery = $index . ‘?attachment=’ . $this->preg_index(1);”

    thanks !
    philippe

    #176414
     Laura
    Moderator
    Not marked as solution
    #176424
     philippehenri12
    Participant
    Not marked as solution
    #176500
     Laura
    Moderator
    Not marked as solution
    #176549
     Radu
    Moderator
    Not marked as solution
    #176564
     philippehenri12
    Participant
    Not marked as solution
    #176567
     philippehenri12
    Participant
    Not marked as solution
    #176848
     Radu
    Moderator
    Not marked as solution
Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?