Archive for the ‘Hosting’ Category

slow wpmu dashboard

January 18th, 2009 Comments off

I have spent today over two hours to find out why my wpmu login (and dashboard) is so slow. For all of You it was wrongly set “Admin Notice Feed” in “Site Admin”/”Options”. bellow a patch that will give extended note about wrong url.

< $rss = @fetch_rss( $url );

> $rss_time = time();
> $rss = fetch_rss( $url );
> $rss_time = time() – $rss_time;
< echo “<div id=’update-nag’>Your feed at ” . wp_specialchars( $url ) . ” is empty.</div>”;

> if ($rss_time < 30) {
> echo “<div id=’update-nag’>Your feed at ” . wp_specialchars( $url ) . ” is empty.</div>”;
> } else {
> echo “<div id=’update-nag’>Your feed url ” . wp_specialchars( $url ) . ” seems to be broken. Go to \”Site Admin\”/\”Options\” and corect \”Admin Notice Feed\”</div>”;
> }

I have also filled a request on wpmu forums to add it to include this patch in wpmu.

Categories: Hosting Tags: , , ,

extension for AA SEO Verify

January 17th, 2009 Comments off

After writing previous post about mod_rewrite I have discovered that google webmaster tools stoped veryfing my domain After investigation I sadly have discovered that Ask Apache Search Engine Verify plugin neither Add Meta Tags can display meta tags on my page. short reading allowed me to find the right place to correct this behavior:

  1. go to your’s installation directory of search-engine-verify,
  2. edit file search-engine-verify.php at line 191 change

if(is_home() && !is_paged()){


if((is_home() && !is_paged()) || is_page()){

With this two steps all pages will contain veryfication tags, so you can redirect as many pages as you wan’t.

Categories: Hosting Tags: , , ,

domain redirect with mod_rewrite

January 16th, 2009 Comments off

There are at least two methods of an Internet address/domain to point to another location:

  • writing small frame and hosting it under originally address/domain – this way our original source will be hidden from visitors eyes.
  • writing small mod_rewrite rule to forward originally address/domain to another one, this is the case if we like both domain names, but think that the second one is more important.

Rules of modrewrite can be writen almost everywhere in apache configuration, but most convinient places are:

  • directory vhosts.d in apache configuration directory under etc, this location varies between Linux distributions but most likely it is something like /etc/apache2/vhosts.d/
  • file .htaccess that can be found at yours project directory served over apache, this can be something like /srv/www/

In all locations You have to write the same content

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} www\.niczsoft\.com [NC]
RewriteRule . [NC]

With this rule I have asked my apache to answer all requests with Please take care for escaping dots in RewriteCond it is required as dot would be matched as any character. In the given example NC stands for no case, so and WwW.NICZSoft.CoM will match and return the requesting person to

WordPress themes compatibility with php

December 17th, 2008 Comments off

As preparing blog for one of clients I have found problems with get it running, after some web research I have found that Hemingway theme uses old syntax … instead of downgrading my server or allowing old syntax I have wrote script that converts old syntax to current working one.

This is the script:

grep -rl “

  • replace <? markers to <?php
  • replace <= markers to <?php echo
  • For me this solved problems with Hemingway theme.

    Categories: Hosting Tags: , , , ,

    NICZ SOFT Blog hosting started

    December 16th, 2008 Comments off

    Welcome at new blog hosting service from NICZ SOFT, You can get here very nice blog for very small price, we offer best level of services, allow many customization, plugins and themes.

    If Shared blog is not what You want You can always get private blog only for You, bound with your domain name.

    Categories: Hosting, News Tags: ,