Web Site Redirection - How to Implement a 301 Redirect
You just created a new web site but want to pass on the
search engine rankings of the old one to the new one. What
is the most effective and spider/visitor friendly strategy
to implement your web site redirection? You should use a
301 redirect.
What is a 301 redirect?
It is used when you want to redirect your web site or web
pages. The code "301" is interpreted as "moved permanently".
After the code, the URL of the missing or renamed page is
noted, followed by a space, then followed by the new location
or file name.
Requirements for using a 301 redirect
Apache server.
Most hosting services used these days have Apache servers.
Check with your host if you are not sure.
.htaccess file
When a search engine spider requests a web page, your web
server will check for an .htaccess file. The .htaccess file
contains specific directions that are processed then sent
back to the browser.
How do I implement a 301 redirect?
1. Create an .htaccess file - you can use Notepad to create
the file. Remember to insert a period at the beginning of
the file name with no extension at the end (ie .htaccess).
2. Create a line of code that reads like this:
Redirect permanent / http://www.domainname.com/
The first "/" indicates that everything from the top level
of the site down should be redirected.
All current links within the search engine results from the
old site will redirect to the top level of your new site.
If you already have an .htaccess file on your server, open
it up in Notepad and look for lines of code that are there.
If lines of code are present, don't change any of them but
leave a space, then insert the above 301 redirect code.
3. Save the .htaccess file to your root directory and
upload it to your server.
4. Test it out by typing in the old web site address. You
should immediately be redirected to your new web site
address.
Redirecting a Web Page
The above example shows how to redirect a whole web site.
What if you want to just redirect a web page that you have
changed but want to keep the rankings of the old page?
Follow the same steps as above but write the code like
this:
redirect 301 /old/old.htm http://www.you.com/new.htm
/old/old.htm (the original folder path and file name)
http://www.you.com/new.htm (new path and file name)
Note:
When the search engine spiders visit your old web site
or web pages, they will automatically be redirected to
the new web site or web page.
Conclusion:
It may take several weeks or months for the old rankings
to be passed on to the new site. Therefore don't remove
your old domain name, web site or web pages just yet.
Herman Drost is the Certified Internet Webmaster (CIW)
owner and author of http://www.iSiteBuild.com - Affordable
Web Site Design and Web Hosting. Subscribe to his
"Marketing Tips" newsletter for more original articles.
subscribe@isitebuild.com. Read more of his
in-depth articles at: http://www.isitebuild.com/articles
RELATED ARTICLES
Best Web Design And Free Web Promotion Tips
This article gives free tips on how to find a cheap web designer and free tips on website promotion.Cheap web design services.
How To Create A Homepage That Works
Want to know what the worst thing to say on a homepage is?"Welcome to our homepage."And yet, time after time, we all come across such homepages on the Internet.
Color and Web Design
Color is one of the most important but least understood elements of web design today. Whether they know it or not, visitors to a site respond to colors and other visual elements on the site on a psychological level.
Web-Safe Fonts for Your Site
Choosing the right typeface for your website copy is important, since it will affect the way your readers perceive your page (serious and formal, or friendly and casual). Aside from this, there are also important usability concerns.
One-Product Sales Sites: Avoid These Top Blunders
One product, one long web page: this kind of web site is
sometimes called a sales letter site or mini-site, and it
focuses on one and only one goal, as many sales of that one
product as possible. With a one-product sales site, no
distractions, no subsidiary goals, such as newsletter
signups, are allowed to interfere with that goal.
How to Avoid the Biggest Mistakes Member Sites Make in Their Marketing Copy
If you have a web site to which people pay a periodic member fee, it's likely that you belong to other member web sites and have done so for at least a year or two. Thus it's easy for you to overlook the fact that to the average person, member web sites are either a relatively new phenomenon or a completely new phenomenon.
Colorblind People, Can They Really Read Your Web Site?
I once created a notepad-like editor. It is possible with this editor to write Russian text on a western Windows without using a Cyrillic keyboard in front of your computer.
Get FASTER Download Times By Making BIGGER Web Pages!
As a webmaster you already know how important it is that your web pages download fast. In a nutshell, if your pages are slow, then you're losing visitors.
10 seconds is all it takes? (How to grab the attention of your audience with your web site)
FACT: 30 to 60% of visitors tend to drop off and click to another site when they are forced to click their mouse more often than necessary.FACT: People who use the internet are usually those who are always on-the-go and don't want to spend time figuring out how to navigate any web site.
Good Content Pays!
Traffic to a site can be a blessing or a curse. Visitors who find what they are looking
for, are engaged in what the site offers, and/or come away with a positive
impression become the site owner's best allies and customers.
Small Business Website Design - How to Get Professional Results on a Shoestring Budget
Just because you are a small business with an even smaller website design budget, does not mean that you cannot have a professional looking website and presence on the web. All it means is you will have to do some of the work yourself instead of paying some design firm to do it for you.
Event Planning Must Include An Event Website
As part of your event planning you should seriously consider
registering a special event domain. That should in fact be the
first step for your planning of any event.
Reach Out To Billions
Have you heard of 'Babel Fish'?It's a service provided by Alta Vista search engine people to translate every page you put 'Babel Fish' code, and up comes a a new language.Your page may be written in English, but people across Spain and Latin America can translate your web page into Spanish.
10 Important Web Design Tips: SEO Friendly Website
A website should firstly be searched out by visitors before talking about attracting or retaining those visitors. Nowadays, a "well designed website" does not only relate to a web site's visual attractiveness but more importantly, how friendly it is with search engines.
Creating a Basic Web Design Template
A "template" is simply a design format which you can apply to all (or most) of the pages in your web site. The first advantage of using a "template" system is that it allows you to make your most important design decisions at the beginning, and then just focus on content.
Make Your Web Site User-Friendly
You can create a website that attracts customers, not repels them, with a little common sense advice.Everyone wants an attractive professional looking website.
Design Your Site For Your Customers
The most important person that you need to please when you design your site is your potential customer. I can not stress that enough.
How a Custom Designed Website Can Help Your Business
Over the years, the internet has grown into a marvelous avenue to promote your business.In my last article, "Why Your Business Needs to Have an Internet Presence" (http://www.
How To Create A Stunning Drop Capital Effect On Your Web Pages
Drop Capitals are frequently used in many newspapers, books and magazines in the offline world. You will frequently see the large capital letter sinking down into the first paragraph of articles, stories and chapters in the majority of publications you come across.
You Too Can Have Fun With Sepia Images!
If you are one of those who wonder how people come up with the cool looking sepia tone prints that you admire so much. If you are doubling up with jealousy over a sepia tone, here, we will give you tips on how you could achieve this sepia tone, too.