Username: Save?
Password:
Home Forum Links Search Login Register*
    News: Welcome to the TechnoWorldInc! Community!
Recent Updates
[August 11, 2025, 02:03:44 PM]

[August 11, 2025, 02:03:44 PM]

[August 11, 2025, 02:03:44 PM]

[August 11, 2025, 02:03:44 PM]

[May 13, 2025, 02:04:25 PM]

[May 13, 2025, 02:04:25 PM]

[May 13, 2025, 02:04:25 PM]

[April 12, 2025, 01:54:20 PM]

[April 12, 2025, 01:54:20 PM]

[April 12, 2025, 01:54:20 PM]

[April 12, 2025, 01:54:20 PM]

[March 12, 2025, 03:05:30 PM]

[March 12, 2025, 03:05:30 PM]
Subscriptions
Get Latest Tech Updates For Free!
Resources
   Travelikers
   Funistan
   PrettyGalz
   Techlap
   FreeThemes
   Videsta
   Glamistan
   BachatMela
   GlamGalz
   Techzug
   Vidsage
   Funzug
   WorldHostInc
   Funfani
   FilmyMama
   Uploaded.Tech
   Netens
   Funotic
   FreeJobsInc
   FilesPark
Participate in the fastest growing Technical Encyclopedia! This website is 100% Free. Please register or login using the login box above if you have already registered. You will need to be logged in to reply, make new topics and to access all the areas. Registration is free! Click Here To Register.
+ Techno World Inc - The Best Technical Encyclopedia Online! » Forum » THE TECHNO CLUB [ TECHNOWORLDINC.COM ] » Computer / Technical Issues » Web Design / Graphics Design/ Animation
 Web Site Redirection - How to Implement a 301 RedirectWeb Site Redirection - How
Pages: [1]   Go Down
  Print  
Author Topic: Web Site Redirection - How to Implement a 301 RedirectWeb Site Redirection - How  (Read 1315 times)
Daniel Franklin
TWI Hero
**********


Karma: 3
Offline Offline

Posts: 16647


View Profile Email


Web Site Redirection - How to Implement a 301 Redirect


You just created a new web site but want to pass on thesearch engine rankings of the old one to the new one. Whatis the most effective and spider/visitor friendly strategyto implement your web site redirection? You should use a301 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 locationor 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 webserver will check for an .htaccess file. The .htaccess filecontains specific directions that are processed then sentback to the browser.

How do I implement a 301 redirect?

1. Create an .htaccess file - you can use Notepad to createthe file. Remember to insert a period at the beginning ofthe 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 levelof the site down should be redirected.

All current links within the search engine results from theold site will redirect to the top level of your new site.

If you already have an .htaccess file on your server, openit up in Notepad and look for lines of code that are there.If lines of code are present, don't change any of them butleave a space, then insert the above 301 redirect code.

3. Save the .htaccess file to your root directory andupload it to your server.

4. Test it out by typing in the old web site address. Youshould immediately be redirected to your new web siteaddress.

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 havechanged but want to keep the rankings of the old page?

Follow the same steps as above but write the code likethis:

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 tothe 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 - AffordableWeb Site Design and Web Hosting. Subscribe to his "Marketing Tips" newsletter for more original [email protected]. Read more of his in-depth articles at: http://www.isitebuild.com/articles

Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Copyright © 2006-2023 TechnoWorldInc.com. All Rights Reserved. Privacy Policy | Disclaimer
Page created in 0.06 seconds with 23 queries.