FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


301 Redirection





seolearnerindia
What is 301 Redirection and, how is this related to Search Engine Optimization?
Thanks!
Hashim Bhati
imagefree
Quote:
301 Moved Permanently

The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs. Clients with link editing capabilities ought to automatically re-link references to the Request-URI to one or more of the new references returned by the server, where possible. This response is cacheable unless indicated otherwise.

The new permanent URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).

If the 301 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.
Note: When automatically redirecting a POST request after
receiving a 301 status code, some existing HTTP/1.0 user agents
will erroneously change it into a GET request.

Source
seolearnerindia
that's great.. now i am understanding what's 301 all about,

now i've got all these types of redirects as well...

and that's very confusing

* 300 multiple choices (e.g. offer different languages)
* 301 moved permanently
* 302 found (e.g. temporary redirect)
* 303 see other (e.g. for results of cgi-scripts)
* 307 temporary redirect

when should i use a 302 and when shd i use a 307? and when a 303?????
oliveiraw
1. To create a .htaccess file, open notepad, name and save the file as .htaccess (there is no extension).

2. If you already have a .htaccess file on your server, download it to your desktop for editing.

3. Place this code in your .htaccess file:

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

4. If the .htaccess file already has lines of code in it, skip a line, then add the above code.

5. Save the .htaccess file

6. Upload this file to the root folder of your server.

7. Test it by typing in the old address to the page you've changed. You should be immediately taken to the new location.
Related topics
What Do You suggest ?
Does someone offer .Com redirection for FRIH$?
REDIRECTION
URL Redirection - Javascript+HTML, so simple...
htaccess
Master Tutorial on SEO
301 permanent redirect possible?
redirection
SEO TACTICS and NO-NOs - True or False?
~~total SEARCH ENGINE OPTIMIZATION for your site!~~
Help needed with mod rewrite
is having multiple domains bad?
301 redirection in PHP and .htaccess
mcqQuestions.com
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> SEO and Search Engines

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.