↓
 

A Pipe and a Keyboard

A sort of Linux scrapbook

  • Home
  • About
  • Software
  • List of posts

Category Archives: Tech stuff

Post navigation

<< 1 2 … 17 18 19 20 21 22 23 … 27 28 >>

Analysing Alexa

A Pipe and a Keyboard Posted on May 5, 2010 by RichardMay 5, 2010

Dedicated followers of this site (i.e. Me) will have noticed that I have a passing interest in Alexa and its ranking methods.

My main reason for this interest is because Alexa seems to be the benchmark of choice in advertising.  I suppose they have to chose some method of ranking sites, but the choice of Alexa is a little baffling.

I have been charting the progress of several sites over the weeks, to see if I can spot a relationship between traffic an ranking.  So far, the relationship has eluded me.  For example, one of the sites has daily visitor numbers in the single figures, while another has daily visits of around 150, yet the two sites are running neck and neck in the rankings, and in fact the latter site is trailing the former, which is completely illogical.

Some weeks ago, I set up a test site.  It is self hosted, with its own domain, but as yet its existence has not been advertised.  As far as I am aware, there are only two people on the planet who know of its existence.  About three weeks ago, I decided to add it to my Alexa monitoring list.

When I started monitoring it, it had a ranking of 1,341,686, which struck me as being quite high for a site that essentially doesn’t exist.  Over the weeks, it has been climbing the ranks at an alarming rate, and now stands at 620,853.  I have seen quite popular sites that are still ranked in the millions.  What the hell is going on here?

One possible theory is that I am skewing the figures, simply by visiting the site to read the stats.  If that is the case, then I would contend that it’s like judging newspaper circulation by counting the number of times that paper is bought in one particular shop.  If one person is a representative sample of internet usage, then what value are the statistics?

My advice?  Unless you are an advertiser, forget Alexa.

wwtraffic
The Philippines accounts for about 0.4% of traffic!!

Posted in Tech stuff | Leave a reply

Bulk editing blogroll entries

A Pipe and a Keyboard Posted on April 27, 2010 by RichardApril 27, 2010

I don’t profess to be a complete expert on WordPress and its finer workings.

Whenever I want to do something like a bulk modification or something like that, I tend to search around for some kind of plugin or some other solution on the Internet.  I am rarely disappointed.

I have been doing some modifications over on Head Rambles where I have shifted the links (Blogroll) onto a separate page.  I wanted to go a little further with this and to do this, I needed to place the links into the database rather than have them hard coded on a page.

I am a great fan pf PHPMyAdmin, so writing up an SQL textfile to insert a batch of links into the Links Table was relatively simple.  The Links Table had some legacy stuff in there so the result was a refreshed table with 147 entries.  So far so good.

I wanted to set all my Links to a particular category, and this is where I ran into a problem.  The last thing I wanted to do was to have to manually edit 147 entries and it would have been extremely slow and tedious.  I searched high an low and found quite a few others trying to do the same thing, but no solutions.  I had discovered the numerical identity of the category (it was 2) and tried a bulk change of the field ‘link_category’ to 2.  This didn’t work, for some reason.

On delving a little further, I found that in fact the relationship between links and categories is held in the table Term_Relationships.  As an experiment, I went back to my text editor and built up a series of inserts for this table –

INSERT INTO `term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES
(X, 2, 0),
(X, 2, 0),
(X, 2, 0);

where X is the ID of the link. 

On running this file, I got several errors indicating duplicate fields.  These represented the legacy entries, which was fair enough.  I just deleted the relevant entries from the text file.

Ultimately, my batch fix worked, and all the links are now entered under their correct categories.

I strikes me though that this would be a fine opportunity for someone to develop a plugin that does batch jobs on Links?

Posted in Blogging, Tech stuff | Leave a reply

WordPress Plug-ins – Comments

A Pipe and a Keyboard Posted on April 11, 2010 by RichardSeptember 4, 2016

The most important aspect of any website is to facilitate the reader.  Blogging has the additional factor of providing a two way conversation, so an easy to use site is essential.

I visit many blogs in the course of a day, and some of them make the very business of interaction so complicated that I tend not to revisit.

The most important aspect is to allow commenting to be as easy as possible.  Blogger [the free service] is a nightmare in this respect as it involves popups and Captchas which I hate.  In general, most blogs are easy to comment on, but they lack a couple of features which I think are rather irritating.

Another thing which I find irritating is to write a comment, submit it, and then find a glaring typo or omission when it is too late to do anything about it.  A very simple solution to this one is to install ‘WP Ajax Edit Comments’.  Unfortunately, I see they are about to start charging for updates to this, so I will either stick with my current version, or find an alternative.  In the meantime, this allows the commenter a pre-set period of time to revisit and edit their comments.

One plug-in I like, though it is not essential is ‘MCEComments’.  This embeds the TinyMCE code and adds the ability to format text in the comments, such as Bold or Italics.  The plug-in can be fairly easily tweaked to provide a huge range of facilities such as justification, image embedding and link embedding.  Most of these are best left off, but it is nice to have the facility if required.

Posted in Blogging, Tech stuff | 9 Replies

WordPress Plug-ins – Security and Spam Filtering

A Pipe and a Keyboard Posted on April 3, 2010 by RichardJune 5, 2016

Running a blog can take a lot of hard work unless some of the tasks are automated.

One of the biggest problems facing bloggers is the number of spam comments that are blatantly promoting everything from lawn-mowers to hard core pornography.

There are several ways of limiting spam comment.

You can allow all comments, and then spend your days going through them all, deleting the spam.  This is obviously not the best method.

You can install a Captcha to try to eliminated the automated spam.  This has two disadvantages – it doesn’t stop the hand-written spam, and it irritates the hell out of genuine commenters.

You can install software to filter all comments as they come in.  This is by far the best method.

When I install WordPress, the first plug-in I would normally install was Akismet.  This is such an essential plug-in that it is now incorporated in the core of the WordPress release.

Another plug-in I install is WP-Spamfree which is very easy to install, and is remarkably effective.

I have both the above installed on my main blog and in the last few months Akismet has trapped 63,975 comments and WP-Spamfree has stopped a further 2,152.  During that period, there were 22,476 legitimate comments, which nicely illustrates the bad ratio of spam to genuine.

Another headache for the blog owner is that of security.

Hackers are always on the lookout for sites they can compromise.  Sometimes they infiltrate the site and abuse it by changing the content.  Sometimes they will insert code to allow the site act as a portal for illegal software, or porn.  This site was compromised recently whereby search engine spiders were redirected to another site, resulting in this site disappearing off Golle and others.

Hackers love a site where they know they can depend on certain information.  For wxample, they know with 99% certainty that all WordPress database tables are going to start with “wp_”.  During installation, it is a very simple matter to change this option.  Few ever do so though.

Another certainty is that there is a user called “admin” which has full rights to the site.  Happily, WordPress have changed things in the soon to be released WordPress 3, in that the default user is no longer “admin”.

With this knowledge, a “brute force” attack on a site is much easier, and therefore one plug-in I like to install is Limit Login Attempts.  This virtually removes the chance of “brute force” attacks

One of the biggest problems though is file and directory permissions.  Frequently these need to be changed for some reason, and it is all too easy to forget to change them back.

WP Security Scan is a nice little plug-in that checks through the installation and will highlight any potential security problems, including incorrectly set permissions.

If there ever is a problem with your site [God forbid] then reinstalling all the files should pose no major problem – you do have them backed up?  I hope?  However, the database is a constantly evolving animal, and last week’s backup is going to lose all this week’s posts, comments and other information.  A regular backup is essential therefore, An I find WordPress Database Backup the ideal plug-in for the job.  It can do scheduled or manual backups and will save them to the server, or can mail you the backup file.

Last, but not least, if you have a heavy duty site that gets a lot of traffic [and none of us knows when he or she is going to write the post that will set the world on fire?] it is a good idea to install caching software.  This not only speeds up downloads for the viewer, but also reduces the load on the server.  Probably the best plug-in for this is WP Super Cache.  This can be somewhat problematic to install, and may require a little technical expertise, but it is worth the effort.

With that lot under the bonnet [hood?] of your WordPress installation, you should be able to enjoy a little extra peace of mind.

Posted in Blogging, Tech stuff | 2 Replies

Classic Menu and Toolbars in Office 2007 / Office 2010

A Pipe and a Keyboard Posted on March 21, 2010 by RichardMarch 21, 2010

I have been using Microsoft Office for many years now, through all its incarnations.

I know there are alternatives out there, but I like to stick to the things I am used to.

I had no problems at all with each upgrade, until I purchased my latest Laptop, which came with Office 2007 installed.  This is where things fell apart.

Office 2007 radically revamped the menu structure on all the applications, and while some people may find it better, I found it confusing.

Over the months, I have managed to find most of the functions and features that I required, but this frequently meant trips to the help area.  What was worse, there was no way in the application to call up the old menu system. 

In Windows, there is a backwards compatibility checkbox, to enable the Start Menu to revert to the old Classic Menu (as they call it) but there is no such facility in Office.

Last week, I came across a wee application – UBitMenu.  I downloaded it and installed it.  It’s a very small program, and running it seemed to have little effect on life.

Until, that is, I opened Office.

Office2007_Menu

It has very nicely inserted a new tab in the menu bar, called, appropriately ‘Menu’.  This now exists in all Office’s applications.

Selecting that tab gives the old Classic Menu.

Brilliant.

It is available here.

Posted in Tech stuff | Leave a reply

Post navigation

<< 1 2 … 17 18 19 20 21 22 23 … 27 28 >>

Recent Posts

  • GRUB problems
  • Tab bar broken again in Firefox 133
  • WP phpMyAdmin Session mismatch
  • When Linux slows down
  • Firefox broken again

Categories

  • Blogging
  • General
  • Linux
  • Media
  • Tech stuff
  • Writing

Blogroll

  • Head Rambles
  • Kirk M's Just Thinkin'
  • Wordpress Beginner
  • Wordpress Development

Archives

©2025 - A Pipe and a Keyboard - Weaver Xtreme Theme
↑