HowTo – WordPress – Press This results in 404

Filed under: Wordpress Tips

If you are having a problem getting press this to work right on your WordPress Website the problem is probably not the plugin you are using but the Link you are pressing to capture the page content.

It seems that the url in the “Press This” link gets set with an improper link.

This means when you press the link it cant forward the text to your post editor.

A cure for this is to edit the JavaScript in the link by replacing some text.

Replace:
u=’+e(l.href)+’

With:
u=’+e(l.href.replace(///g,’\/’))+’

Would be nice if the core development team fixed this but this has been a problem for a few years now and it doesn’t seem to be a priority.

good luck