Monday, July 5, 2021

Redirect wordpress author page to homepage

Dont' want to index default Wordpress author page to search engines and Google?

Redirect the author page from your theme to the homepage easily with this function.

add_action('template_redirect', 'my_custom_disable_author_page');

function my_custom_disable_author_page() {
    global $wp_query;

    if ( is_author() ) {
        // Redirect to homepage, set status to 301 permenant redirect. 
        // Function defaults to 302 temporary redirect. 
        wp_redirect(get_option('home'), 301); 
        exit; 
    }
}

Place this code to your theme functions.php file in the theme editor.

This works with Wordpress version 5.7.2 at least when I tried last time.


Tuesday, November 17, 2020

seo site checkup test

Testing different websites with seo site checkup is a easy way to validate that you have essential elements in your website.

Here you can find quickly what errors your site maybe has in simple seo setup. It also counts text and characters of your page quickly to review that you don't have too long title tag or meta description.

The errors are not definitive and should taken as a guide more than must to do things. Ex. Google Analytics is not detected from Google Tag Manager so if you have more advanced analytics setup the service can falsely show a error from this setup.

Quick and handy tool to check one page at a glance. Test it with your page and fix those errors that matter to your page and visitors and you have better changes to rank higher in search engines. Sadly you can only check one website per day with the free account. Here is another seositecheckup test on a different site.

Here is another SEO site scanner that will find valuable info from your website for to fix or improve. It will go through a lot of different areas of the website like pictures, analytics, meta tag information, headings and amount of content in the pages. Easy to read figures and diagrams help you to indentify problems fast and fix the most crucial errors to improve the accessibility and quality of your site.

Wednesday, April 15, 2009

HP raid 5 array configuration utility update and raid 5 rebuild

Had to change a hard disk in a proliant server with a new Ultra320 SCSI drive. The server has six harddisk and a one array with three drives in that array. The change of the hard drive was a simple task but the ordering was a pain in the ass. The whole server is a old HP server from 2003 I think and it was really hard to find the right hard drive. None of the retailers could order the hard drive and I had to order it straight from importer. It was strange that HP didn't have those drives to order. Maybe I had previously ordered it under warranty cause I never bought those hard drives from a retailer before.

After the change the hard drive begin to rebuild the array and all the drives are now flashing red when the rebuild is on the way on those RAID 5 arrays. The array configuration utility software didn't work at the server but the array controller still managed to start the rebuild. Had to go to HP web site where I downloaded the new version of array configuration utility. It was a simple download and install on the server. Didn't have to reboot or anything during install. The SCSI drive was a hot swap drive too and that hard drive change didn't need a shutdown either. The server computer was on and running the whole time when I unplucked the old harddrive and inserted the new hot swap drive inplace. Now I have to wait many hours for the array to rebuild itself and make sure the other hard drives are working ok after that.

It was a relief that I noticed that hard drive failure before the array crashed. It would have been a really hard to repair raid 5 array if two drives had failed. I think you need a specialist or custom software to rebuild a raid 5 array after they have broken. Not sure if the repair of the raid array is even possible when two drives broke simultaniously. Now I have to make sure I get a email alert send when those raid hard drive fails again.

Saturday, August 9, 2008

ASRock 4CoreDual-VSTA BIOS Error 6B38



I bought ASRock 4CoreDual-VSTA motherboard a little over a year ago and it was a kind of baby step upgrading at first. I was going to upgrade to Core 2 Duo with baby steps so I could use DDR400 ram and my Ati Radeon 9800 Pro AGP graphics card with my new setup. This motherboard even had SATA connectors so I could install new hardware as well so it was a perfect motherboard for my needs.

Soon after I hooked up everything and the machine was running smoothly with two SATA 160GB hard drives in RAID-0 configuration and with AGP Ati graphics card the computer halted at BIOS error 6B38. It happend right after the memory check and I couldn't get to BIOS or anything. I tried to search the net for solution but nothing. I even contacted ASRock through their web page for a fix but they never answered and there was no answer for this 6B38 error. I blogged that error at my other blog and realized that there is still no solution to that error what the motherboard gives as of today.

That's why I'm writing this blog post about a year old motherboard. I got it working eventually but it has come up occasionally every now and then.

The solution is to shut down your computer and unplugit from the wall socket.

The normal shutdown from the power button is not wnough. You have to at least use the power button in your power supply if there is one. The easiest is to unplug the computer from the wall power socket for few seconds. After the complete power down the motherboard should rise up and boot normally.

I haven't figured what causes this event but I guess it has something to with USB hard drives or USB flash disks that are connected to your computer while it boots up. You could remove USB drives and disks before you turn your ASRock 4CoreDual-VSTA moteherboard up.

Hope this blog post helps all the people suffering from this odd hang up and if you still have proplems with it give us a comment below.

Wednesday, August 6, 2008

How to change incoming email message sound in Windows Mail or Outlook Express




You know that beeping sound you get when new email messages arrive to your inbox in Windows Mail at Windows Vista or Outlook Express at Windows XP? You can easily change that sound what ever please you or turn it off for good.

In Windows Vista just head... (Windows XP is almost the same, just locate Sounds from control panel)
  • Start
  • Control Panel
  • Hardware and Sound
  • Sound --> Change system sounds
  • locate New Mail Notification from the list and select it
  • then you can change it from the Sounds list or turned off selecting the first choice (None)
  • or... you can browse what ever sound file from your hard drive (must be in .WAV format)
That's it. You can change all kinds off sound from that same Sounds tab while you are there.
Links