How to redirect traffic to another domain aka 301 redirect
301 Redirect
301 redirect is the most efficient and Search Engine Friendly method for webpage redirection. It’s not that hard to implement and it should preserve your search engine rankings for that particular page. If you have to change file names or move pages around, it’s the safest option. The code “301″ is interpreted as “moved permanently”.
You can Test your redirection with Search Engine Friendly Redirect Checker
Below are a Couple of methods to implement URL Redirection
IIS Redirect
- In internet services manager, right click on the file or folder you wish to redirect
- Select the radio titled “a redirection to a URL”.
- Enter the redirection page
- Check “The exact url entered above” and the “A permanent redirection for this resource”
- Click on ‘Apply’
ColdFusion Redirect
<.cfheader statuscode=”301″ statustext=”Moved permanently”>
<.cfheader name=”Location” value=”http://www.new-url.com”>
PHP Redirect
<?
Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.new-url.com” );
?>
ASP Redirect
<%@ Language=VBScript %>
<%
Response.Status=”301 Moved Permanently”
Response.AddHeader “Location”,”http://www.new-url.com/”
%>
ASP .NET Redirect
<script runat=”server”>
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = “301 Moved Permanently”;
Response.AddHeader(”Location”,”http://www.new-url.com”);
}
</script>
JSP (Java) Redirect
<%
response.setStatus(301);
response.setHeader( “Location”, “http://www.new-url.com/” );
response.setHeader( “Connection”, “close” );
%>
CGI PERL Redirect
$q = new CGI;
print $q->redirect(”http://www.new-url.com/”);
Ruby on Rails Redirect
def old_action
headers[”Status”] = “301 Moved Permanently”
redirect_to “http://www.new-url.com/”
end
Redirect Old domain to New domain (htaccess redirect)
Create a .htaccess file with the below code, it will ensure that all your directories and pages of your old domain will get correctly redirected to your new domain.
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
Please REPLACE www.newdomain.com in the above code with your actual domain name.
In addition to the redirect I would suggest that you contact every backlinking site to modify their backlink to point to your new website.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
Redirect to www (htaccess redirect)
Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
Please REPLACE domain.com and www.newdomain.com with your actual domain name.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
How to Redirect HTML
Please refer to section titled ‘How to Redirect with htaccess’, if your site is hosted on a Linux Server and ‘IIS Redirect’, if your site is hosted on a Windows Server.
There is a good resource site that talks into similar details about domain forwarding, search engine friendly methods and so forth. check it out
IP address upgrade from IPv4 to IPv6
It’s about time for an IP address upgrade, don’t you think?! Well, before I go any further, if you’re not sure, an IP address is a unique address that is assigned to a network device by the network. Every computer that connects to a network or the Internet is assigned an IP address. It basically allows that computer to communicate with the network or the Internet.
The current IP address standard, called IPv4, uses 32-bits, which looks something like this: 192.168.0.1. This IP address standard was created in 1981 when the Internet was just a baby. The early creators of the Internet did not believe it would become as large as it is today, especially since it was originally designed only for a few universities and the United States Government. Over time, many large corporations and even the U.S. Government have come to realize that there is a large need to switch over to a new IP standard. The new version will be called IPv6 and it will use 128-bits.
The IPv6 IP address looks something like this: 2001:0db8:85a3:08d3:1319:8a2e:0370:7334.On August 2, 2005, the Federal Government of the United States issued a memorandum, stating that all Federal Government agencies will transition their network backbones to IPv6 by June 30, 2008. The IPv4 version only allows for four billion IP addresses, which greatly limits the number of devices that can be given a unique, globally routable location on the Internet. The IPv4 standard has slowed the growth of the Internet worldwide and it constricts the amount of computers and other devices that can be connected to each other via the Internet. On the other hand, the IPv6 standard allows for an almost unlimited number of IP addresses. In all actuality, the IPv6 allows for over 300,000,000,000,000,000,000,000,000,000,000,000,000 different addresses. (And no, I’m not kidding!) The movement from IPv4 to the new IPv6 will allow us users to have more technology in our lives, because we will now be able to assign more IP addresses to more devices. Soon, mobile phones, televisions and even toasters will be assigned IP addresses! Imagine this: you’re leaving work and you would like a hot cup of coffee when you arrive home. With the IPv6, you would be able to do much more.
This transition is not going to be easy or simple, it will require a lot of manpower professionals to get involved and oversee these projects.
FREE eBay Auction Sniper Service
Have you ever wondered why when you are trying to bid on an otem on ebay and you are the highest bidder then all of a sudden you right before the auction ends, someone comes in and snatches it from you whether it is in the middle of the day or middle of the night, it just happens. The chances are, the person overbidding you is not really sitting in front of the computer, all what this person did is use a sniping program or a website service like Gixen where you enter the ebay item number and the highest amount you are trying to bid and what the website service do is go out a few seconds before the auction ends and place the bid for you. This way you avoid getting into bidding war, you do not have to stick around the computer to find out make sure no one overbids you, and lastly, you bid like a pro.
We have evaluated different programs and website services that offer snipping services, truth told, the real nice one we liked was Gixen. It is a website service that is offered to the public for free and you can bid on as many items as you want. it uses SSL for encypting and securing the data transmission.
Other competitor websites and programs would charge you a fixed percentage of won items or insertion fees.
I have been using Gixen for a few months and have been very pleased with the service therefore, have decided to share the wealth about this free ebay sniping website service.
PHP error 5.2.4 Getting error “Error in my_thread_global_end(): 1 threads didn’t exit”
We have noticed a few web server admins to be getting an error message Getting error “Error in my_thread_global_end(): 1 threads didn’t exit” when running php on IIS windows servers in CGI. the issue is caused by libmysql.dll found in php directory. The file size for the libmysql.dll was 1.94 MB (2,035,712 bytes).
To fix the issue and clear the error message, you must replace libmysql.dll with an earlier version from release 5.2.1 of PHP.
I noticed many people were not able to get their hands on it so we have uploaded it to our server to make it easily availble.
Download php mysql libmysql.dll
VMWare Host and Guest Cannot Communicate Over Network Shares on Dell PowerEdge and Broadcom TOE
Many people have encoutnered issues with the TOE on the Dell PowerEdge servers (especially the 2900) where it caused weird issues with networking components, most noticeable on VMware boxes and ISA servers.
A few days ago I had the same issue with our PowerEdge 2900 after I upgraded to the latest drivers and firmware, the server was running windows 2003 with SP2 loaded on it, once the server was rebooted, the host OS could not access the guest systems via UNC or RDP ( Remote Desktop) however I was able to ping the guest OS by IP and common name with no issues.
after researching the issue, I discovered, it is a problem with the Broadcom Network Cards, Windows 2003SP2 and the TOE (Tcpip Offload Engine)
I tired many different thigs except uninstalling the SP2 from the Host OS as it was not a fix for me (not good enough solution) so what I did was opened up the case and removed the TOE component which is like a little white adapter that plugs into the motherborad of the 2900 PowerEdge server. The connector itself is like a phone plug. I have attached a picture of the adapter.
To remove the TOE adapter, slide open the case, look in the center next to the CPU, there will be a white chip (looks like a one of those tranceievers) sticking out and labeled TOE 2) Just unplug it (you would unplug it just like how you unplug a phone from a phone jack).
Once I removed the TOE adapter from the server and powered it back on, everything worked like a charm. I phoned Dell and talked to their senior techs and they did elaborate that this was a problem they have been running into recenlty and this was the right fix.
I hope this helps you out. if it does please post to let me know.
Video Tutorials for Share Point 2007
Microsoft Share Point 2007 is getting hotter and hotter every day. Knowing Share Point 2007 is goldmine due to the services and features it offers. Yet with the high demand on it, many IT Guys lack the knowledge and understanding of its capabilities and expandabilities. We did our homework and searched for good resources and found this free video tutorial on Share Point 2007. It is by far one of the best resrouces we have found on the internet for Microsoft Sharepoint 2007.
the website is: Microsoft Share Point 2007 Video Tutorial
Command check computer specs and uptime in windows XP
Ever had a doubt what utilities do what. Windows XP has so many built in features and utilities that most sysadmins do not bother to utilize as they try to find a way of getting by with the same old commands (like ipconfig and stuff) they do not realize that newer OSes often include more utilities that could help in streamlining the support daily tasks and troubleshooting.
Try this command which is built in into Microsoft Windows XP.
in command prompt, type the following systeminfo
it will give you good useful information about system configs, system uptime, original install date (windows xp installation) hotfixes installed, NIC card info and so forth. it can be run on another machine remotely.
Here is a systeminfo parameter:
C:\DOCUME~1\aamin>systeminfo /?
SYSTEMINFO [/S system [/U username [/P [password]]]] [/FO format] [/NH]
Description:
This command line tool enables an administrator to query for basic
system configuration information.Parameter List:
/S system Specifies the remote system to connect to./U [domain\]user Specifies the user context under which
the command should execute./P [password] Specifies the password for the given
user context. Prompts for input if omitted./FO format Specifies the format in which the output
is to be displayed.
Valid values: “TABLE”, “LIST”, “CSV”./NH Specifies that the “Column Header” should
not be displayed in the output.
Valid only for “TABLE” and “CSV” formats./? Displays this help/usage.
Examples:
SYSTEMINFO
SYSTEMINFO /?
SYSTEMINFO /S system
SYSTEMINFO /S system /U user
SYSTEMINFO /S system /U domain\user /P password /FO TABLE
SYSTEMINFO /S system /FO LIST
SYSTEMINFO /S system /FO CSV /NH
I hope you find this tool useful and helpful. If so let us know and we will post more.
If you have tips to share, please do not hesitate to contribute.
Goodlink stops syncing contacts on Treo Palm or other PDA devices
If you have a device running Good Messaging (formerly known as GoodLink) and it stops syncing, the first thing to do is make sure you have a data connection by attempting to go out to an internet site (such as www.google.com) from your device. If that doesn’t work, then contact your wireless provider, because your data connection is not available or you have no data coverage where you are. If you can get out to website, you probably just need to reset the Goodlink software.
Here are instructions for to reset your goodlink software on a treo or a PDA device:
- On your wireless device, go into Good Preferences | About Good Mobile Messaging
- Type in “debug” without quotes. You will not see the text on the screen as you type, but it will open a hidden command prompt.
- When a command prompt window opens, type in “reprov” without quotes and press the enter key.
- You will be prompted that this will erase all data from the handheld. This only refers to data synced with the Good software. Type in “yes” without quotes and press the enter key.
- Your device will restart and the Good software will resync all of your emails/calendar/contacts/etc.
This usually does the trick and all should work like a charm.
I hope this tip helped you out.
Computer Wholesaler Network
Computer market is becoming more and more competitive which keeps the prices down for all consumer business. However, the market is much more competitve in the second hand computers and wholesalers. Many of these wholesalers are dealing in the gray market. We found a great directory where these computer wholesalers and drop shippers are listed and actively interact together releasing their hottest inventory along with their contact info.
if you are intrested in buying second hand computers or brand new computer from the gray market area make sure you check out the Computer Wholesalers Directory
RSS Readers Sharp Reader
I remember back in the days when I had two or three favorite sites, but nowadays, with so many different topics, gadget news, website deals, and more, it is hard to keep visit all of them more often, this is where RSS comes to the rescue and offer you the ease of keeping up with all the sites in one simple application with highlights of each website… Not all website have RSS capability, but it is becoming more and more common.
There are two main ways to get the RSS feeds, the first way is through a web application (kind of like different Google Reader where you have to have your web browser open and logged in to your Google account, Yahoo, and MSN offer it too) or a desktop application where you can open it up like Microsoft Outlook… I have been through a few RSS readers and found Sharp Reader to be the best one out there due to its simplicity, new RSS notifications, and most of all, stability (the coolest thing, it is FREE).
Download Sharp Reader Software RSS Reader





