Blogvaria

This page is brought to you by Blogvaria (http://blog.evaria.com).

To obtain more information, ask questions and interact please visit our website.

Back to Blogvaria landing page
Feedback
Subscribe
   
Blogvaria

 

The personal pages

Archive for WordPress

Upgrading to WordPress 2.9

I guess most of you’ve already noticed that a new version of WordPress is available. And like many times before I thought I’d give you a heads up on the upgrade just in case there’s something problematic ahead. Again, I can assure you that moving from WordPress 2.8.x caused no issues either through automatic or manual upgrade.

A big thank you goes out to the development team for yet again giving us something to “play with”. I especially liked the enhanced Ajax features – NICE :) But most importantly you can now edit your images online! This is the most sought-after feature in my book for sure.

There’s a lot more stuff as well which you can read all about here or just watch the video below:

Filed under Personal opinions, WordPress | 1 Comment

Today’s Comics finally updated

This is just a quick note to inform you all that my incredibly popular “Today’s Comic” widget has been updated so all comics shows (if published that is). Take a peak yourself to the far right and catch up on the funniest ones from today.

If you have any comments or cartoon requests please feel free to leave a comment :)

Filed under Humour, Plugins | No Comments

WordPress 2.8 is out!

Just a quick post to announce that WordPress 2.8, codenamed “Baker”, is available. A brief introduction is found below:

The latest release fixes 790 bugs and all parts should be faster and smoother (as always).

More release info is found here, and further insight for the curious here.

I’ll try to get it all done today – and with any luck the site will still be up and running. If you’ve already updated please let me know if you’ve encountered any strange happenings!

Update

Things look like they are working after upgrading – some bugs on the Dashboard but after refreshing it should go away (I hope).

If you encounter the following error under your “Incoming links”; Fatal error: Call to a member function get_link() on a non-object – please let me know and I’ll dive into it as it could be a bug…

Update 2

Bug fixed – well not really a bug to be honest, but problem solved at least…

Filed under WordPress | 8 Comments

Multiple domains on one WP installation

This may not be the greatest SEO idea but it may be useful in some cases. Anyway I thought I’d share this little trick as it proved very handy for one of my recent clients.

Basically WordPress allows you to manipulate your configuration file so that when certain criterions are met you can override the default home and blog URI’s set in the database.

By doing so you can have more or less unlimited domains pulling the same files and data from one single WordPress installation.

Here’s how you do it

Open wp-config.php in your favourite editor (Notepad, Dreamweaver etc.) and add the following:

if (preg_match("/\bwww.example1.com\b/i", $_SERVER['REQUEST_URI']) || preg_match("/\bwww.example1.com\b/i", $_SERVER['HTTP_HOST'])) {
define('WP_SITEURL', 'http://www.example1.com');
define('WP_HOME', 'http://www.example1.com');
}

If you need more domains just add more by repeating the above starting the next “block” with elseif.

Feel free to comment and/or suggest different ways of doing this.

Filed under WordPress | 4 Comments

Custom WP forms and 404 errors

Recently I’ve been building various custom form plugins for WordPress. And even if it all seemed to work properly I would get an “404 page not found” error instead of my “thank you page”. I know I’m not the only one as this has been reported before.

The reason this happens is basically due to the fact that some form values should NOT be used as they will cause a conflict with the variables passed by WordPress itself. Among them are values like: name, day, year etc.

So, if you are running in to this issue/bug yourself you can isolate the “forbidden” values by simply filling in one value on the form after another and performing a quick submit between each and every one. As soon as you get the 404 error you will know you’ve found one (of potentially several) values you will have to rename.

What you need to do then is give your form field (e.g. text input, textarea or select box) a new name. A field named “year” could then be passed on as “dyear” or similar. Nothing more to it actually.

Please feel free to comment should I’ve left something out, or leave a thank you if I saved you some headaches and time :)

Happy coding!

Filed under Plugins, WordPress | No Comments


Page 1 of 812345678»

Quick links - Blogvaria time links [ sitemap ]

2010 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec

2009 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec

2008 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec

2007 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec

2006 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec

Akismet has protected Blogvaria from 108,771 spam comments. Design by Evaria.com. Powered by WordPress.
Our beloved and trusted server has rendered 1.930 pages so far today, an amazing 5.626 pages yesterday
and even more astonishingly 214.427 pages since 29 Jan 2010 alone without dropping a byte nor a pixel.

Close
E-mail It