Featured Links

Other Topics






Quote of the Day

"I'm not offended by all the dumb blonde jokes because I know I'm not dumb... and I also know that I'm not blonde."

Dolly Parton








 




 
Featured Javascript Articles

21 Simple Ways To Make More Money From Your Current Clients, Part 2
It is easier to make additional money from your current clients than it is to go out and find new ones! See 21 simple ways in this three part article series. PART TWO: Here are seven more great ways to make more money from your existing clients, ...

How secure is your data? Preventing the theft of your internet property.
Monday morning first thing and the phone rings. It's a typical call, since the previous Thursday a small business has noticed that some of the images on it's' website are starting to appear on other sites. They know enough to understand that once these ...

Score BIG With The Search Engines - Maximising Your Site's Potential
I often get asked, "How do I improve my site's performance in the search engine's." or "I have a small budget, how can I compete with the larger sites." It can seem daunting when you type in your key search term and you see Google returning 200,000 ...




301 Redirects and Search Engine Optimization
 
There are multiple reasons to redirect URLs. For one, your web pages may have moved but their old URLs may still live in users' bookmarks or in search engine indexes. Without implementing some sort or redirection, that traffic would be lost to a 404 Error Page.
On occasions, you may also want to register several extensions for your domain name: 'mydomain.com', 'mydomain.net' and 'mydomain.org', and have 'mydomain.net' and 'mydomain.org' automatically redirect visitors to your site, hosted under 'mydomain.com'.
Furthermore, if your company sells several products, you may want to give each of them an individual domain name, and have it point to a specific subdirectory of your main site. For example, if you own a site called 'businessvideos.com' that sells a product called 'Marketing Made Easy', you may want to set up a domain such as 'marketingmadeeasy.com', and redirect it to subdirectory: www.businessvideos.com/marketingmadeeasy/.
There are several ways to redirect domains, however, most of them will get you in trouble with the search engines. The search engine friendly way to redirect URLs is to use what is know as a 301 redirect (you can see how Google and Yahoo! specifically endorse this kind of redirection). Here is my take about the different redirection methods and their implications on search engine optimization:
Meta-Refresh Javascript Redirect
You can redirect visitors by placing a snippet of javascript code within the HTML code of the page you want to redirect. With this method, you can specify the number of seconds before the visitor is automatically redirected to the new page. Search engines don't like this method, because of the potential for abuse: you could write an optimized page for a non-competitive search term, and then automatically redirect your unsuspecting visitor to whatever URL you want. For example, it could be relatively easy to write a page about english literature, have it indexed and highly ranked by the search engines, and then redirect your visitor to a casino or Viagra site. If search engines allowed this, users would quickly stop trusting them. That is why search engines penalize this practice, and why you should avoid it.
Parked Domains
You could register an additional domain name, park it, and make it point to the DNS servers of your main site's hosting account, so that when somebody types the additional domain, they will be transported to your main site. However, this approach may lead to search engines listing the same content twice, one for your main domain, and one for your additional domain. In the past, unscrupulous webmasters would use multiple domains to spam search engines and directories, making them list the same pages hundreds of times under different domains. Even if your intentions are good, we don't recommend this approach to redirecting your additional domains, since search engines may penalize your site for duplicate content.
302 and 301 Redirects
When a request for a page or URL is made by a browser, agent or spider, the web server where the page is hosted checks a file called '.htaccess'. This file contains instructions on how to handle specific requests and also plays a key role in security. The '.htaccess' file can be modified so that it instructs browsers, agents or spiders that the page has either temporarily moved (302 redirect) or permanently moved (301 redirect). It is usually possible to implement this redirect without messing with the '.htaccess' file directly, using your web host's control panel instead.
>From a search engine perspective, 301 redirects are the only acceptable way to redirect URLs. In the case of moved pages, search engines will index only the new URL, but will transfer link popularity from the old URL to the new one so that search engine rankings are not affected. The same behavior occurs when additional domains are set to point to the main domain through a 301 redirect.
The URL Forwarding Feature
Most domain registrars offer a feature called URL Forwarding. With this feature, you can register a new domain, such as 'mydomain.net', and have it point to mydomain.com (or to any other URL). The problem, however, is that registrars usually do this by implementing a 302 redirect (page moved temporarily). While Google handles 302 redirects very well, passing link popularity from the additional domain to the main one, other search engines don't do this well, diluting link popularity by splitting it between the two domains, and negatively affecting rankings. Therefore, it is better not to use this method, and implement a 301 redirect instead.
Redirecting Old URLs
To '301 redirect' an old URL to a new one, just go to your web host's control panel, and choose the "Redirects" option. You can then set up the redirect by filling the blanks. You want to chose redirect option "Permanent" to implement a 301 redirect.
Redirecting additional domains
To 301 redirect an additional domain (like in the case of the .net or the .org version of your domain name), you have to set it up as an add-on domain with your web host (some hosts offer this option for free, and some others charge a small monthly fee per domain). If the additional domain was not registered with your web host, you will first have to go to your domain registrar and change the DNS (domain name servers) to the DNS of your web host (you may have to wait a couple of days before this change becomes functional). Once you've done this, go to your web host's control panel, choose the "Add On Domains" option, and set up your add on domain as follows:
New Domain Name: additionaldomain.com (Do not put any http:// or www)
Username/directory/subdomain: additionaldomain (Enter 'additionaldomain' by itself. Do not put any '.com' or 'www')
Password: 123ABC (Enter whatever password you want).
Then, set up the redirection by filling the appropriate box with the URL of the landing page (where you want your traffic to go).
Once your additional domain is redirecting to your landing page, take this one last step to see if everything is working fine: go to a server header checking tool, type your add-on domain in the query box and hit enter. If you get a message similar to this: "Status Code HTTP/1.1 301 Moved Permanently", then your 301 redirect is working.
You can also use 301 redirection for common mispelled versions of your domain name, or for other good domain names that you don't want your competitors to get.

About The Author

Mario Sanchez publishes The Internet Digest ( http://www.theinternetdigest.net ), an internet marketing content site packed with useful articles and resources, and SEO Tutorial (http://www.seotutorial.info) where you can learn the basics of search engine optimization in four easy steps.


Google


Javascript News


NewsOXY

Tab tearing live in latest Firefox test build
CNET News, CA - Nov 17, 2008
As mentioned before, this also comes with some nice JavaScript speed improvements and a new look for Windows Vista users. Below is a quick demo of how the ...
Mozilla Patches 11 Firefox Holes PC World
Mozilla Updates Firefox To Version 3.04 InformationWeek
Mozilla Releases Software Patch for Firefox to Address Security NewsOXY
InternetNews.com - Computerworld
all 112 news articles

PDF Attack Via Javascript Injection
Windows & Net Magazine, OH - 18 hours ago
I ran across an interesting javascript injection attack that targets Wordpress. Tracking it down won't be easy for the laymen. The reason is because most ...

Etherpad Shows Google Docs How It's Done
Washington Post, United States - 4 hours ago
One great feature optionally highlights Javascript syntax (making this a great way to write code collaboratively) And that's it for now. ...

BBC News

Obama: Oratory and originality
BBC News, UK - 2 hours ago
Please turn on JavaScript. Media requires JavaScript to play. "Rhetoric always has the connotations of being about appearances rather than reality but he ...
His words will matter USA Today
all 6 news articles

Live from Beijing China: Community to Launch NetBeans 6.5 IDE at ...
MarketWatch - 1 hour ago
The NetBeans IDE 6.5 allows you to stay within one tool and move easily from PHP to JavaScript and back. It's all about making developers more productive," ...

Big Three CEOs Flew Private Jets to Plead for Public Funds
ABC News - 2 hours ago
Javascript is not enabled on your browser. Please enable javascript to use the community features on this page. If your browser does not support javascript, ...

BBC News

VIDEO: With Yang out, is Microsoft in?
ZDNet - 21 hours ago
You need Javascript enabled to view the video player. Sam Diaz is a senior editor at ZDNet. See his full profile and disclosure of his industry ...
Yahoo CEO Jerry Yang To Step Down Slashdot
all 2,265 news articles

CIO Weblog

Amazon Debuts Content Delivery Network Service
PC World - 22 hours ago
... progressive download of video clips, software downloads, delivery of photos and serving up of Web site objects like CSS and JavaScript files. ...
Amazon's CloudFront Content Delivery Network Takes Off ITProPortal
Amazon Launches Cheap CDN for SMB Web Publishers CMSWire
all 79 news articles

You need to have javascript enabled to view this page correctly
Burnley Express,  UK - 42 minutes ago
To read this article in full you must have registered and have a Premium Content Subscription with the Press Association site. To read this article in full ...

Telegraph.co.uk

Police and teachers on BNP list
BBC News, UK - 10 hours ago
Please turn on JavaScript. Media requires JavaScript to play. He told the BBC's Today programme the party would be using the Human Rights Act to try to ...
You need to have javascript enabled to view this page correctly Burnley Express
all 514 news articles