You are here: Re: Removing obsolete pages from a site « HTML « IT news, forums, messages
Re: Removing obsolete pages from a site

Posted by dorayme on 10/14/07 22:10

In article <ulo4h35banlsokd1abi2q9jiegrmgsm60d@4ax.com>,
Ken Sims <ng3122@kensims.#nospam#.net.invalid> wrote:

> Hi dorayme -
>
> On Sun, 14 Oct 2007 09:25:12 +1000, dorayme
> <doraymeRidThis@optusnet.com.au> wrote:
>
> >OK. Is your "permanent" just an alternative to putting in "301"?
>
> From http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect
>
> [QUOTE]
> If no status argument is given, the redirect will be "temporary" (HTTP
> status 302). This indicates to the client that the resource has moved
> temporarily. The status argument can be used to return other HTTP
> status codes:
>
> permanent
> Returns a permanent redirect status (301) indicating that the
> resource has moved permanently.
>
> temp
> Returns a temporary redirect status (302). This is the default.
>
> seeother
> Returns a "See Other" status (303) indicating that the resource
> has been replaced.
>
> gone
> Returns a "Gone" status (410) indicating that the resource has
> been permanently removed. When this status is used the URL argument
> should be omitted.
>
> Other status codes can be returned by giving the numeric status code
> as the value of status. If the status is between 300 and 399, the URL
> argument must be present, otherwise it must be omitted. Note that the
> status must be known to the Apache code (see the function
> send_error_response in http_protocol.c).
> [/QUOTE]
>
> Those codes apply to the Redirect and RedirectMatch directives.
>
> There are also RedirectPermanent and RedirectTemp directives whose
> status is always what is implied by the directive name.

Thank you for this info. Is there any difference in effect
between putting "permanent" rather than "301"?

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация