3 WordPress plugins

Advanced Permalinks dashboard screenshot
Advanced Permalinks dashboard screenshot

Yesterday I decided to change the permalinks structure of this site. I wondered if WordPress had redirection built into to the core, but it seems it does not yet. But there are many plugins, like always, providing the needed functionlity. At first I looked at one called Redirection, but it was not really what I was after. If seems to do most things one could want regarding redirects and 404 logging, but I only wanted to simply redirect my old “YYYY/MM/DD/postname” structure to “/postname”. I then tried another plugin called Advanced Permalinks, which does exactly what I wanted. After installing it, its options/functionality is found under Settings->Permalinks->Migration in the WordPress administration dashboard.

This allows you to move from one permalink structure to another one, and have the old structure be forwarded to the new, for each post. I used the “/%year%/%monthnum%/%day%/%postname%/” structure before, but I switched to the “/%postname%/” structure. Now, with the Advanced Permalinks plugin my possible old links in to my articles are forwarded properly.

The second plugin I installed and tried yesterday was Optimize DB, a simple plugin that just does what the name says, optimizes the MySQL database with one click. Seems to do its work well too. For my little site it wasn’t that much to optimize, but a few kilobytes atleast.

The third plugin I installed, and which you can see the effects of in this post, is Lightbox Plus, which handles the viewing of images fullsize in an overlay frame using javascript, instead of opening the image directly. Click on the image in this post and see.

Are you using any of these plugins and have anything to add? leave a comment.

Skapa en webbplats med WordPress

Jag upptäckte att .SE tydligen har skrivit många bra guider, om Internet- och webrelaterade ämnen. Bland annat har de skrivit en guide om hur man skapar en webbplats med WordPress. Det finns inte många, eller någon annan, vettig guide på svenska som behandlar detta. Jag snabbläste igenom den och jag rekommenderar den. “Skapa en webbplats med WordPress” kan hämtas från .SEs “Internet för alla”-sida, i sektionen för guider. Trevlig läsning.

Djupare in i bloggandets värld, motstretandes, men hyfsat fascinerad

Sådär.. första steget i ett litet optimeringsexperiment, då får vi se om det ger något resultat i form av någon mer besökare kanske. Prövar bland annat att pinga (denna gång menas blog-ping, inte ICMP) http://www.frisim.com/ automatiskt från WordPress vid postande. Detta är väl mest ett test, alternativt en liten rant. Bland all skit som skrivs av idioter, har jag hittat en site som verkar veta vad den (hon) talar om, därifrån har jag inspirerats lite. Jag har också de senaste dagarna uppdaterat andra siter, och fått lite idéer på nya projekt, istället för att göra det jag borde, d v s labba med QoS, men det hinns väl med.. hoppas jag. Gjorde också en liten banner (se ovan, högst upp) tidigare, hoppas detta temat och den, ser okej ut.

Getting indexed by Google, don’t repeat this mistake

A few days ago I was going to “deploy” a site I had been working on. It is using WordPress. When I set things up and wrote pages and made it do a bit of what I wanted, I had set it to be private, in the WordPress Settings->Privacy->I would like to block search engines, but allow normal visitors, because I wanted to make things somewhat ready before having Google and other search engines crawling it. I wanted to have things somewhat set up and ready before showing it to search engines, though one doesn’t get much for trying things with good intentions.. sometimes.

Continue reading “Getting indexed by Google, don’t repeat this mistake”

December rant

Ten days until Christmas. I have found most of the gifts I intend to give, though some I’m waiting for to be delivered, since I’ve ordered them. I hope they get here in time, before I go home to my parents over christmas.

A few minutes ago I updated WordPress to version 2.7. Many things are changed, in the administration interface, but seemingly to the better. Another thing I noticed was that the comments marked as spam (which is all but 1 in my case..) are now visible. Maybe they were before too, but not as easily, I think they weren’t, but, still in the database.

After some fiddling, all my plugins worked, and some could be disabled, that I had only for other things to work (for example, a thing called Bluetrait EventViewer was magically needed for the gallery2 plugin to function.. now it works, as magically, without it), so all in all, so far, it seems good.

Today is Sunday, the day when one, atleast me, mostly is restless, thinking too much, and not doing much at all. However, there’s been a lot of worse ones. Sometimes one finds something interesting to do for a few minutes. I found a picture of a little physics experiment/demonstration, that I thought I wanted to try, so I did. The picture below is the result.


As you see, I didn’t find a piece of string, but (I did find some later though..) one takes what one has, and an umbrella worked fine.


There was some snow yesterday, that had been for a few days, today however, it went away. The lights that I put up on my balcony blinked nicely, reflecting into the white floor on the balcony, but.. now they have to blink against the dull grayish concrete instead. I don’t really mind though, it was quite slippery and icy in the streets, and I’m sure there’ll be more snow later on anyway. This is how it looked 10 days ago, at my parents.


The outside christmas tree, covered in snow, well, not very deep, but covered atleast, and a view in the garden at the back of the house, below.


As a finish, a picture of the “adventsljusstake” (advent-candleholder) from the first advent Sunday, with the first candle lit. Today it is the third of Advent, so today, mom and dad will have three candles lit, in that one.



A spruce in the sun.
A spruce in the sun.

Had to test how an image would look here. So, here it is, a picture I took a few years ago, of a spruce’s branches, in a forest area near my parents house.

The uploader of images in WordPress seems to work ok, used the flash based one, but there seems to be an alternative one available (just to switch to by a click) too.

That was a nice day, when I took that picture, sun was shining, and I played around with the camera, taking pictures of plants and trees.

Upgrade to 2.6.2

That didn’t take long, an upgrade already, upgrading wasn’t a problem (if this can be read, which I think you can). Didn’t take many minutes, and I also got a chance(push) to make a backup, which also was smoothly done since I already have a nice little backupscript dumping it all, and sending it off. I’ll put it up later, in case it can be useful for someone.

And oh, I noticed that Last.fm had nice widget code for WordPress, I tried it, and added it, looks quite nice I think.


Right now the Google bot was on, that was quite quick. (The machine that this runs on wasn’t happy, not sure if it was because of that, or because there were some visitors on another site running on the same machine, or other things.. it needs some more RAM that’s for sure.)

I’ve decided to go with this current theme, but change it a little bit more. And I’ve found some plugins that I like.  However, as I said above, it runs quite heavily on this machine, especially the administrative interface. I’m trying the wp-super-cache to see if that improves things, and I like to think that it does.

I was told that the top header is taking up too much space, and I fully agree. Editing it involves a lot of pixels here and there, and wasn’t as easy as I first thought, but it’ll be fixed eventually/shortly. So far, testing how wordpress works and behaves, especially on this machine has been interesting.