Press This is a bookmarklet built into WordPress, that allows you to grab bits of the web and post them easily to your blog. It’s wonderful!!! 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’l have a handy button for instant blogging without cut and paste.
The problem is that when I first used, it didn’t work. It gave me a 404 error everytime I clicked on the link. Doing some research on the Internet, I found many solutions that identified the problem but still didn’t work for me. Finally I found one that need.
Edit the below code, where it says DOMAINNAME and enter your domain name, and then copy and paste this code into the bookmarklet:
javascript:var%20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://www.DOMAINNAME.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%20a(){if(!w.open(g,'t','toolbar=0,resizable=0,scrollbars=1,status=1,width=720,height=570')){l.href=g;}}setTimeout(a,0);void(0);
If this doesn’t work, try reading the original solution that worked for me. You can find it at:
http://blogmum.com/2009/08/how-to-fix-press-this-404-errors/
{ 0 comments }