Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17440

Re: page redirecttion in PHP ?

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: page redirecttion in PHP ?
Date 2017-05-14 16:31 +0200
Message-ID <enr81cFhj3cU1@mid.individual.net> (permalink)
References (1 earlier) <590f2454$0$727$e4fe514c@news.xs4all.nl> <en8oa0FdgglU1@mid.individual.net> <en8og9FdgglU2@mid.individual.net> <oenmh0$5v8$3@jstuckle.eternal-september.org> <enr1hpFg0v0U1@mid.individual.net>

Show all headers | View raw


On 05/14/17 14:40, pehache wrote:
> Le 07/05/2017 à 19:49, Jerry Stuckle a écrit :

>> And if you do it with an Apache "permanently moved" order Google will
>> pick it up and change its database.  As it is, Google (and other search
>> engines) will continue indexing the old one for a very long time, since
>> you're giving an OK response to the old request.
>>
> 
> Is it a problem if Google contine indexing the old URLs along with the
> new ones ?

For you will need to maintain the old ones, just think what happens next
time you do some changes, you will have to maintain 3 different ways to
access the content, then some years later 4 ways and so on.

If you tell it's permanent move, the search engine will remove the old
links and replace with the new ones and you don't need to maintain some
code to translate the old index way to the new one.

-- 

 //Aho

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

page redirecttion in PHP ? pehache <pehache.7@gmail.com> - 2017-05-07 10:19 +0200
  Re: page redirecttion in PHP ? Jerry Stuckle <jstucklex@attglobal.net> - 2017-05-07 07:43 -0400
  Re: page redirecttion in PHP ? Luuk <luuk@invalid.lan> - 2017-05-07 15:42 +0200
    Re: page redirecttion in PHP ? pehache <pehache.7@gmail.com> - 2017-05-07 16:12 +0200
      Re: page redirecttion in PHP ? pehache <pehache.7@gmail.com> - 2017-05-07 16:15 +0200
        Re: page redirecttion in PHP ? Jerry Stuckle <jstucklex@attglobal.net> - 2017-05-07 13:49 -0400
          Re: page redirecttion in PHP ? pehache <pehache.7@gmail.com> - 2017-05-14 14:40 +0200
            Re: page redirecttion in PHP ? "J.O. Aho" <user@example.net> - 2017-05-14 16:31 +0200
              Re: page redirecttion in PHP ? pehache <pehache.7@gmail.com> - 2017-05-18 08:40 +0200
                Re: page redirecttion in PHP ? Jerry Stuckle <jstucklex@attglobal.net> - 2017-05-18 08:14 -0400

csiph-web