How to fix the “Press This” 404 Error

If you’re not already using Press This, maybe now’s a good time to start. Press This is a for you if you’d like to share excertps from other websites on your own site. It’s a simple Javascript bookmarklet that opens a new window with a link to the site you’re on. It then lets you add pictures, text and post it to your site – just as if you’re writing a new post. It’s genious! Find it under “Tools” and drag the link to your browser bar – no installation needed, it’ll only be a simple bookmark.

However, on some sites the new window brings up a 404 error, indicating that something’s amiss. Turns out that WordPress is getting confused about certain mod-rewrite rules or something… Whatever the reason: Fret not, there’s an easy solution to fix this (thanks to Blogmum and the WordPress Forum for these instructions).

  • Right-click the Press This link on your browser bar, and select “properties”
  • You’ll see a long line of javascript code in the location box
  • Find the following code:

  • Change it to this:

  • Tada – Press This is working now. Hurra!

Please note that you might find it easier to copy the entire line of code into a text editor, search for the string and then post it back into the Properties section.

Happy Pressing 😉

About Jay Versluis

Jay is a medical miracle known as a Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

21 thoughts on “How to fix the “Press This” 404 Error

  1. Thank you so much!!! I was very excited to learn about Press This from a friend, but didn’t think I’d be able to use it because it wouldn’t work the theme I’m using. I just tried what you suggested and it worked great! 🙂

  2. Thank you worked perfectly.

    Elijah I am on 3.5.1 and it worked – ignore the and in the example and look for:

    e=encodeURIComponent,u=f+’?u=’+e(l.href)+’ and replace with
    e=encodeURIComponent,u=f+’?u=’+e(l.href.replace(/\//g,’\\/’))+’

Add your voice!