Saturday, January 4, 2014

The right way - a htaccess 301 Redirect

A 301 redirect is the most efficient and spider/visitor friendly strategy around for web sites that are hosted on servers running Apache (check with your hosting service if you aren't sure).

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.



A 301 redirect is implemented in your .htaccess file.

What is a .htaccess file?
When a visitor/spider requests a web page via any means, your web server checks for a .htaccess file. The .htaccess file contains specific instructions for certain requests, including security, redirection issues and how to handle certain errors.
What is a 301 redirect?

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
Implementing a 301 redirect for static pages

First of all, you'll need to download the .htaccess file in the root directory of where all your web pages are stored. If there is no .htaccess file there, you can create one with Notepad or a similar application. Make sure when you name the file that you remember to put the "." at the beginning of the file name. This file has no tail extension.

If there is a .htaccess file already in existence with lines of code present, be very careful not to change any existing line unless you are familiar with the functions of the file.

Scroll down past all the existing code, leave a line space, then create a new line that follows this example:

redirect 301 /old/old.htm http://www.you.com/new.htm

It's as easy as that. Save the file, upload it back into your web and test it out by typing in the old address to the page you've changed. You should be instantly and seamlessly transported to the new location.

Notes: Be sure not to add "http://www" to the first part of the statement - just put the path from the top level of your site to the page. Also ensure that you leave a single space between these elements:

redirect 301 (the instruction that the page has moved)

/old/old.htm (the original folder path and file name)

Featured Links
digital marketing agency delhi,digital marketing services,online marketing agency,website promotion company delhi,SEO Services Delhi,web design company india,web designing services india,Flash Website Design India,Flash Web Site Development Company India,Website Maintenance Services Delhi,website designing company,Facebook application developer,Facebook app development,open source customization,website development delhi,Indian php programming firm,zen cart Customization india,paid inclusion services,
paid inclusion search engine,online affiliate programs,Brand Identity Marketing,Internet Marketing,high PR and regional directories,Directory Submission delhi india

Latest Top Links:

RMOS

HR Manager-Sr. HR Recruiter in RMOS LTD

2015 Rmos Jobs

RMOS LTD - Careesma

RMOS Consultancy is in which area of gurgaon ?

Rmos Ahmad Profiles

Rmos Service Provider in Gurgaon Sector 14

RMOS Consultancy Profile connection with blogger profile

Rmos - Placement India

RMOS's Presentations on authorSTREAM

RMOS LTD Jobs - TimesJobs

RMOS | India's largest Outsourcing Recruitment Company

Rmos Jobs in India

How does Website Redirection works

If you have a Website with your current ISP such as:
http://www.myisp.com/~mysite and you have a registered Domain Name you.com, you can redirect visitors who type in www.you.com to go to your current website at: http://www.myisp.com/~mysite
Our redirection methods will display www.you.com in the browser address line.



Redirection is immediate, so your visitors won't experience any additional loading time for your website.  Website redirection does not "cancel" the old address of your website, either. You can still access your page with the old address (URL) or by entering your domain name.

We must however Register the Domain for you, or if it is already a registered Domain, transfer and redelegate it to our nominated Servers.
How does Domain Pointing works
You can use Domain Pointing if your website has a static IP address associated with it. When someone looks for you on the Web by entering http://www, followed by your domain name, Domain Pointing sends them to the IP address you have specified. This could be any website on the Internet. You can point your domain to any site with its own IP address.

Domain Pointing or Website Redirection?
Domain Pointing is used to send visitors to a website with a fixed network address, called an IP address. If the address of your website is a subdirectory of another domain, you should choose Website Redirection to direct people to your site.

Subdirectories look something like this: http://www.myexample.com/users/~joe.
IP Addresses look something like this: 203.32.160.239

Featured Links
digital marketing agency delhi,digital marketing services,online marketing agency,website promotion company delhi,SEO Services Delhi,web design company india,web designing services india,Flash Website Design India,Flash Web Site Development Company India,Website Maintenance Services Delhi,website designing company,Facebook application developer,Facebook app development,open source customization,website development delhi,Indian php programming firm,zen cart Customization india,paid inclusion services,
paid inclusion search engine,online affiliate programs,Brand Identity Marketing,Internet Marketing,high PR and regional directories,Directory Submission delhi india