How to fix "Press This" 404 errors

Begin at the beginning, the King said gravely, and go on till you come to the end, then stop.As the White King advised, I'll begin at the beginning. Press This is a bookmarklet built into WordPress, that allows you to grab bits of the web and post them easily to your blog. If you're not already using it, find it in Admin > Tools; drag-and-drop the link to your browser's bookmarks bar, and you'll have a handy button for instant blogging without cut and paste.

At least, you should do. My chum Maria at the Knicker Mafia told me tonight hers isn't working. I did a little testing, and found it worked for some of my blogs but not for others. Some blogs post okay; others throw up a 404 error in the Press This window. Bizarre. Then I found this thread on the WP support forum which already had the answer from Qvprof: Press This's URL encoding gets mixed up with WP's mod_rewrite.

To fix Press This, you need to slightly change the javascript it uses. The easiest way to do that is:

  • Right-click the link on your browser bar, and select "properties".
  • You'll see a long bit of javascript in the location box. Copy that.
  • Paste what you copied into Notepad or another text editor (not Word).
  • Find u='+e(l.href)+'
  • Change it to u='+e(l.href.replace(/\//g,'\\/'))+'
  • Paste the whole thing back into Press This > properties > location, and save it.
  • It ought to work now.
Share this post:
  • email
  • del.icio.us
  • Facebook
  • FriendFeed
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter

Tags:

Posted by Sue on August 18, 2009 in WordPress.

6 comments to "How to fix "Press This" 404 errors"

  1. Thank you - Thank you - Thank you! I have been wrestling with this for over 6 months and even just upgraded to the latest version of Wordpress 2.9 which says it fixed the PRESS THIS bookmarklet - but it didn't. I have tried many other fixes I found on the web and NONE of them worked . . .

    Then low and behold - one more search and I found you site and BANG now it's working again. You are a wordpress angel - thank you so much!

    Phil

  2. Jawa wrote:

    Thanks! This worked for me, too. There is still one issue though. Looks like it is only picking up Text, not images or videos. I thought you were suppose to see three or four tabs. I don't see any tabs at all.

  3. Mike Opsahl wrote:

    I am new to blogging. I am also having this problem but your solution does not work for me. I get the same error. I searched for other solutions and I found 2 others but they also fail. Our web team sent me your link. Any suggestions?
    Many thanks, Mike

  4. Jim Holland wrote:

    Yes, thank you as I just spent about 2 hours trying to 1. Figure out how to get the bookmarklet on my favorite bar and 2. Getting rid of the 404 message. Thank you again!

Leave a Reply