-
Posts Tagged ‘website’
How-To: Use Wget to Automate the Karamasoft UltimateSearch Indexing Process for Your Website
Wednesday, January 5th, 2011 by Christian MattixAlmost every modern website has a “search my site” module of some sort added to it. In this How-To I’m going to explain how to set up Karamasoft UltimateSearch to automatically rebuild its index on a repeating scheduled basis in a Microsoft Windows hosted environment.
First, you will need to obtain the UltimateSearch software from the Karamasoft site, found at: http://www.karamasoft.com/UltimateSearch/Features.aspx. Follow the directions provided to get the tool installed into your particular hosting environment. For this How-To I’m going to assume that you have a website www.example.com that you have the tool installed in. The process for starting the indexing process is as simple as accessing a particular webpage on your site and passing it a particular operation code in the query string. To start the full indexing process for our example site you would navigate to:
http://www.example.com/UltimateSearchInclude/Admin/UltimateSearch.admin.aspx?cmd=IndexFull
We want to be able to call this process via a script, so we will need something lightweight and easily used from within a scripting language. A perfect tool for this is the Open Source GNU Wget utility. From the GNU Wget site:
GNU Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols. It is a non-interactive commandline tool, so it may easily be called from scripts, cron jobs, terminals without X-Windows support, etc.
Download and install the GNU Wget utility. The Windows port can be downloaded from http://gnuwin32.sourceforge.net/packages/wget.htm. Download the setup program, follow the setup wizard, and install the utility to your server. After the installation process has completed, add the directory that you installed wget.exe into to the PATH environment variable.
Once you have UltimateSearch and Wget installed on your server you are now ready to set up the indexing job. In order to have the site be indexed based on a schedule, the admin link needs to be visited on a scheduled basis. In order to do this, we are going to use the Wget utility that we just downloaded in a batch file. That batch file will then be called as a scheduled task by Windows.
The batch file that I created is named
USearchIndexTask.bat. In it is the following:@echo off wget -O - http://www.example.com/UltimateSearchInclude/Admin/UltimageSearch.admin.aspx?cmd=IndexIncremental > nul 2> nul
I have saved this file in
c:\Program Files\Force5\USearchIndexTask.bat. You can save it where-ever it makes the most sense in your hosting environment.Once the batch file is saved, then you need to create a scheduled task to run the batch file. In our environment I used Windows Task Scheduler to create the task. Use that tool to create a task to run the
USearchIndexTask.batfile. Choose a frequency that makes sense for your environment, based on the quantity of changes for the site. If there are very few changes made on a daily bases, then having it run once a day at midnight is an appropriate setting.Manually run the scheduled task to verify that it completed successfully, and then go get lunch. You are done!
To see more bright ideas from the Left and Right brains of Force5, check out the rest of our blog as well as our work!
Understanding Website Traffic
Monday, April 20th, 2009 by Force 5As a website owner it’s important to understand website analytics. How many people are going to your website? Are they reading what you have to say? Are they buying your products? There is only one way to know. Good site analytics. The problem is there are so many statistics available sorting through these numbers can be a daunting task. Below, I’ve provided some basic analytic information to help you decipher this numerical nightmare.
Unique Visitor:
A unique visitor is a visitor coming from a single IP address. Basically, if I visit your site today I’m counted as 1 unique visitor. If I return to your site 10 more times from the same IP address I’m still counted as 1 unique visitor.
Visitor:
A visitor is the total number of people who visit your website. If I visit your website 10 times today I’m counted as 10 visitors. Remember, if I make those 10 visits from the same IP address I’m only counted as 1 unique visitor.Bounce Rate:
Bounce Rate is the percentage of visits where the user enters and exits at the same page of your site without visiting any other pages. So, if I were to visit your home page, look around for a minute, then leave without going to any other pages my visit would be counted as a bounce.Time on Site:
Time on site is the average amount of time a visitor spends on each page of your website. If your average time on site is 3:11 this means that your site visitors spend an average of three minutes and eleven seconds viewing each page of your site.Page Views:
Page views are the number of times a particular page is requested from the website server and displayed in the end users browser. If you have a high number of visitors, and a low page view count this means you have a lot of people going to your site but they are not finding it useful. A low page view count usually goes hand in hand with a high bounce rate.Hits:
For a long time everyone talked about website hits. Basically, this is a meaningless statistic. Hits count every single item on your webpage that loads; HTML pages, images, links, headers etc. Hits might be important to your site developer to assist with reducing page load times but it means nothing to you as far as site traffic.Traffic Sources:
Another important stat to keep track of is your traffic sources. This tells you where your visitors are coming from.The three main traffic sources are:
- Search Engines
This represents the percentage of overall visitors that reached your site via a search engine such as Google or Yahoo. - Referring Sites
This represents the percentage of overall visitors that reached your site from a direct link on another website. - Direct Traffic
This represents the percentage of overall visitors that reached your site by typing your unique URL (domain name) into their web browser.
It’s important to know your traffic sources. This is where your site visitors are coming from. If your Search Engine percentage is high then visitors are finding your site on the first page of Google or Yahoo results. If your referring sites percentage is high then you have a good number of external links to relative websites. Finally, if your direct traffic percentages are high then you have a memorable domain name. Visitors know who you are and how to find your webpage without searching for it.
Improving your website traffic takes a solid understanding of your visitors. Using analytics is your first step in gaining that understanding. If you want to keep the traffic coming, monitor your site statistics on a regular basis, and learn what those numbers are trying to you.
- Search Engines