Are you getting a 404 page error when you try to use the WordPress “Press This” bookmarklet?
There’s an easy fix. The problem is that the URI encoding is getting mixed up with the mod_rewrite function. For the fix, we’ll assume you have already dragged the “Press This” shortcut to your browser’s bookmark bar).
The fix:
javascript:var d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f=’http://yoursite.com/wp-admin/press-this.php’,l=d.location,e=encodeURIComponent,g=f+’?u=’+e(l.href.replace(/\//g,’\\/’))+’&t=’+e(d.title)+’&s=’+e(s)+’&v=2′;function a(){if(!w.open(g,’t’,’toolbar=0,resizable=0,scrollbars=1,status=1,width=720,height=570′)){l.href=g;}}a();void(0);
Pingback: Fix Wordpress 'Press This' 404 error « Complete Geek Boutique | Neorack Script
Pingback: Fix Wordpress ‘Press This’ 404 error « Complete Geek Boutique
Excellent. Thank you. This fixed my problem.