wpid Added to File Name When Uploading With xmlrpc

I’m working on my script for uploading images directly from the iOS Markdown text editor app Editorial to Wordpress. The current script uses xmlrpc-Wordpress library, but I’m writing my own so the user doesn’t have to install the extra library just to use my script. When uploading files with xmlrpclib, I got this annoying thing happening. Every time I uploaded an image using xmlrpclib and the function wp.uploadFile the uploaded file got wpid- prepended to the filename of all my uploaded files. ...

February 8, 2015

MarsEdit 3 My New Blog Editor On my Mac

Using Marsedit 3 I’ve been dabbling around with different blog editors for Mac now for a while, trying to find one that suits my needs. I usually try to do most of my blogging on my iPad, but when writing on my Mac I’ve used Byword in combination with Marked2 to do the initial texts written in Markdown. ...

October 26, 2014

Dumping Disqus from my blog

Inserting Score Card Research javascript After doing some research using Google Webmaster Tools to get my images indexed, I discovered that a JavaScript called b.scorecardresearch.com/beacon.js was loading without me installing it. I found out that the Disqus comment system adds it without my knowledge. That’s not ok, so I have decided to remove Disqus from my blog. It’s unfortunate, because it is a pretty good system. I like the ease of making comments, and also that you can follow comments you made on different sites with ease. But if they try to do sneaky stuff like that, they’ll end up in /dev/null (in the trashcan for non geeks). After searching with Google I found that this isn’t something new. It’s been going on for quite some time. Thankfully I have all my comments stored, so I’ll just have to use the build-in comment system in Wordpress. ...

June 21, 2014

Loosing Google PageRank Because of hAtom errors

hAtom errors and Google PageRank When I checked my blog in Google Webmaster I noticed a lot of errors in the Structured Data section. After fixing the errors in Wordpress by adding structured data, my traffic increased without any changes. That includes posts. So obviously Google uses hAtom when setting PageRank. ...

June 10, 2014

Blog Post Directly from iOS Safari to Poster App Using Pythonista Script

I want to be able to share interesting web pages on my Wordpress blog using iOS directly from Safari using a bookmark and a Pythonista Python script. The script takes the URL of the page, any text you copied and the page title, formats it in Markdown and creates a new post in Poster App automatically. ...

March 13, 2013

Wordpress MarsEdit Problem Doesn't Show Categories Varnish xmlrpc.php

External Wordpress editors like MarsEdit doesn’t show categories or tags I just installed Varnish Cache on my website to speed up load time with great success. But after loading my favorite Mac blog editor MarsEdit, when doing a refresh, all the categories and tags disappeared! I realized that it must have something to do with Varnish blocking the requests between the external blog editor and Wordpress, but I haven’t had time to really learn all the intricacies of vcl. As usual Google came to the rescue, and I found [this post in Swedish that solved the problem]). I’d thought I might regurgitate the solution here in English for other with the same problem. ...

March 4, 2013

Ubuntu Server WordPress with W3 Total Cache install

Initial installation Ubuntu Server Last time I configured my web server with Ubuntu Server, I had problems finding all the instructions on what and how to install everything needed to get a WordPress blog with W3 Total Cache, CDN, Apache2 MPM Worker and fcgi working. So this is my attempt to write down the steps needed to get the server going. You might find it of interest if your needs are similar to mine. Here’s the requirements for my WordPress blog. Apache MPM Worker threaded version APC PHP Opcode optimizer All the required modules for W3 Total Cache Graphics libraries for Mint statistics ...

June 4, 2012

permalinks in Wordpress - changing without losing Google rank

When changing permalinks in Wordpress from an old format to a new, you risk losing Google page rank. On my blog, I’ve had my permalink set to /archives/year/month/day/name-of-article. Looking at my web server log, very few used the archives sidebar, so I removed it. To make the link shorter I needed to remove everything except the article name. But when changing the permalink, all the incoming links will get a 404 error from all old connections, and the search result from Google, lowering your Google ranking. Not good. ...

February 11, 2012

Upgrading to Nginx and getting WordPress to work

So, after doing an upgrade of my Apache installation all my web content stopped working. It continued to give 403 errors. After spending hours changing permissions and checking every little detail I gave up. So I installed Nginx instead. It’s a bit scary to start using a totally new web server software, but why not live dangerously? Anyway, it’s fast! Really fast. The only problem I had was to get all the redirects to work. And I also removed my gallery2 installation and moved the blog to / ...

June 24, 2009

MAMP WordPress Error establishing a database connection

I’ve installed MAMP on my Mac to do some changes to my blog. I tried to set the WordPress wp-config.php file to connect to localhost:8889, but got an error that It could not connect to the database. After replacing localhost:8889 to 127.0.0.1:8889 it works. My quick guess is that permissions for the root user is set to allow connections 127.0.0.1, but not localhost. Anyway, it works now. My wp-config.php file looks like this: ...

March 20, 2009