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. http://www.isitebuild.com. Read more of his in-depth articles at: http://www.isitebuild.com

bedroom cleaning professionals Highland Park ...
In The News:

iPhone, Samsung Galaxy and Google Pixel each hide a built-in tool that turns a video frame into a separate photo without any screenshot needed.
Operation KillSwitch dismantled KillSec's ransomware infrastructure, but investigators say a 16-year-old allegedly ran the entire cybercrime operation.
The Fox News Artificial Intelligence newsletter covers where voters will decide on AI data center ballot measures and Jeff Bezos' tech vision.
Apple's Impersonation Risk Detection in iOS 27 can flag suspicious activity inside apps, but the setting is off by default and must be enabled.
Federal Election Commission records can expose your name, address, employer and donation history once contributions exceed the $200 threshold.
Cybersecurity expert Morgan Wright says human skepticism remains the strongest defense against AI-driven phishing scams and voice cloning fraud schemes.
iPhone, Google Pixel and Samsung Galaxy each handle security updates differently, and one screen saying "up to date" may not tell the whole story.
Deborah Del Mastro heard what sounded like her daughter's terrified voice on the phone, launching a five-hour virtual kidnapping scam ordeal.
Hotel TV privacy risks go beyond forgotten passwords when you sign into Netflix or other streaming apps on shared devices you don't control.
Apple's iOS 27 Visual Intelligence now lets your iPhone search objects directly on screen, but Samsung Galaxy and Google Pixel have a head start.
x47.c Windows malware uses xAI's Grok to maintain persistence on infected PCs while stealing passwords, browser cookies and API keys from victims.
Frankie LaPenna fought three robots in a cage, including two modified EngineAI T800 humanoids that can kick with up to 850 pounds of force..
MacSync malware hides malicious commands inside iCloud calendar events to download additional payloads onto infected Macs without raising suspicion.
Joseph Holycross dismissed his racing heart for nearly two years until his Samsung Galaxy Watch detected atrial fibrillation and changed everything.
Home title fraud begins when criminals forge your signature on a deed. Here is how to check your own property records and set up free alerts.
Jeffrey Ladish, a former Anthropic security team member, warns AI agents are colluding and hacking with no reliable solution to keep them in check.
Instinct Concierge and Meta Muse can now place phone calls to businesses on your behalf, but the privacy and data access tradeoffs are significant.
Olivia Moore spent $100 to create a fake RushTok influencer using ChatGPT and MiniMax, and thousands of Bama Rush fans couldn't tell the difference.
RatHat Android malware uses AI to steal banking credentials, intercept two-factor authentication codes and reconstruct your PIN from touch inputs.
The Fox News AI Newsletter covers the latest artificial intelligence technology advancements, including the challenges and opportunities AI presents now and for the future.
Apple and Google password managers can flag compromised, weak and reused passwords on your phone before credential stuffing attacks can strike.
Researcher Peter Garrigan says Moonshot AI's Kimi model was manipulated into providing instructions for biological weapons and assassination plans.
iPhone, Google Pixel and Samsung Galaxy phones now offer call screening that asks unknown callers to identify themselves before your phone rings.
Ransomware can lock your irreplaceable photos and documents in seconds. A tested backup strategy and stronger cybersecurity habits are your best defense.
ShinyHunters claims it breached FBIJobs.gov and stole Social Security numbers, home addresses and sensitive assignment details of FBI personnel.

Website Background Colors and Graphics: What You Need to Know Before Designing Your Website

Designing your website means you have to be creative, plan... Read More

So Much About META Tags!

I've written about META tags in the past, and I... Read More

How To Boost Your Chances at Having a Successful Web Site

New Web sites are springing up online by the millions.... Read More

Graphic Design Can Make or Break Your Web Site

We all want high impact graphics for our Web sites... Read More

How to Hire The Right Web Design Firm

Regardless whether you manage a small business, charitable organization, or... Read More

Best Web Design And Free Web Promotion Tips

This article gives free tips on how to find a... Read More

Successful Flash Tips

Ever browse across a website that took ten million years... Read More

Create Favorite Icon

Favorite icon appears to the left of your link in... Read More

Positive Design Attributes for a Successful Website

Designing a website is hard job, and requires you to... Read More

Website Design For Small Businesses

There are many different website design companies, offering different facilities... Read More

Website Design Basic Concepts

So, what's in a website design anyway? And, how do... Read More

Website Design: Secrets Of Professional Website Designers Revealed

What colors do you have at your website?Can they make... Read More

Website Checklist

10 Basic Things Your Website Should Have ...__ all short... Read More

Website promotion Ideas: 10 Web Site Add-Ons To Increase Your Traffic

If you're not getting a lot of traffic to your... Read More

Choose & Use the Best Colors

The Psychology of ColorAre you using the best colors for... Read More

One-Product Sales Sites: Avoid These Top Blunders

One product, one long web page: this kind of web... Read More

Creating Personal Web Sites

This is a two-part article about creating a web site... Read More

9 Ways to Gain Your Visitors Respect

The internet is filled with sites and they are good... Read More

How To Design Your Web Site With CSS

Cascading Style Sheets (CSS) allows you to create fast loading... Read More

Effective Website Design

In this era of ultra-sophisticated internet marketing and web design,... Read More

Tips for Getting More Sales From Your Website

(1) Create a Direct Response Website, with the minimum number... Read More

Seven Habits of Highly Effective Webmasters

A highly effective website will always reflect its highly effective... Read More

Web Copy - What You Should Know First

Just what is web copy? Some people think that web... Read More

Professional Web Design Companies - How to Avoid Getting Ripped Off

Building a website that is exactly what you want and... Read More

The Golden Rule Of Website Building

Copyright 2005 Robert EvansSetting yourself up to earn a steady... Read More

tidy up service Des Plaines ...