Posts Tagged WordPress
Using WordPress.com stats and Google Analytics on a WordPress instal
Posted by admin in Analytics, Web design & development on February 3rd, 2010
Wondering which you should use?
Use both. (As recommended by Mr WordPress himself…)
The WordPress.com Stats WordPress plugin provides all the basic daily dose of stats you need – and all easily accessible from the WordPress Dashboard. Google Analytics gives you that extra oompf when you need it and will of course tie in with any Google advertising you have going on.
WordPress 403 import error and how to solve it
Posted by admin in Web design & development on February 2nd, 2010
[or Check Your WordPress.com Privacy Settings]
Yesterday I was being an eedgit. For the life of me couldn’t figure out why I was getting a 403 error “Remote file returned error response 403 Forbidden”. I was trying, and failing, to get image attachments to import from a WordPress.com XML export file into a self hosted WordPress installation.
I wracked my brains and Google but I couldn’t figure it out. Helpfully the blog I was working on [it's revamp of my friend Stewart Andersen's Homes and Travel site - now live ] is based on the excellent Carrington Framework by Crowd Favorite. Whilst researching it I’d noticed a link to their WordPress Help Center on their forums. I thought I’d have a shot at it and hoped it could be sorted within the three minutes of free help they offer…
Talking it through with them I realised what I’d done. To avoid duplicate content issues I’d set the WordPress.com blog to private before I finished the import. That simple. WordPress.com was deying access to the new blog based on the instructions I’d given. I was logged in so everything looked fie but the new site.
The answer: Make sure your WordPress.com privacy settings are not set to private!
I guess it’s the sort of stupid thing people don’t admit to – so until now no Google results to find.
Anyway many thanks to Matt Walters and the WordPress Help Center…
When you’re stuck, talk to the bear or give the WordPress Help Center a shout… [thanks guys!]
Google analytics
Posted by admin in Web design & development on April 15th, 2009
- Interpret your Data: Learn how to interpret your data into meaningful insights with our video tutorial.
Tag your links [esp for tracking non www links in email campaigns etc] with the URL Builder
Go to the Conversion University
Track non page events like PDF downloads, video views, clicks etc with the pageTracker
<a href="/brochure.pdf" onClick="javascript: pageTracker._trackPageview('/virtual/path/you/want/to/use/brochure.pdf'); ">Link juice</a>
[Cannot get this to work]If, for example, it’s in embedded in a PHP echo statement don’t be a pendejo and forget to escape the quote marks:
<script type="text/javascript">
<!--
pageTracker._trackPageview(\'/a/different/and/riddiculously/long/virtual/path/\')
//-->
</script>'
WordPress note with the above block of <code> an apostrophe after a backslash needs to be added as an HTML entity: '. Strange? I think so.
A Flickr slideshow iFrame in Wordpress?
Posted by admin in Photography, amateur geekery on February 21st, 2008
A-ha! So this is how it’s done…
For the full experience you’d need a canvas (or theme) that accommodates the Flickrslideshow minimum dimensions which are roughly 580px wide x 360px high. Right now this site’s main content div is only 500px wide – so there’s a bit of clipping on landscape images. But not enough to worry about too much just yet.
The code is this: <iframe style="border:0" width="500px" height="400px" src="http://www.flickr.com/photos/lazydada/sets/72157603491230286/show/">
How’s your php.ini?
Posted by admin in amateur geekery on January 24th, 2008
Mine’s just fine now. When trying to upload a photo via WordPress’ interface I used to get this error:
Fatal error: Allowed memory size of 8388608 bytes exhausted
Couldn’t find a quick fix and worked around it using Flickr until today.
Recently MediaTemple sent notification of a default change to all their users’ environments. In the FAQ they sent out – out jumped said error message. The fix, easy: FTP into the affected account and edit the php.ini file in /etc/ .
A quick change of “blankety-blank” in: memory_limit = [blankety-blank]
to “100M”, hence: memory_limit = 100M.
Robert is my sons’ mother’s brother.