Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17449
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | pehache <pehache.7@gmail.com> |
| Newsgroups | comp.lang.php |
| Subject | Re: page redirecttion in PHP ? |
| Date | Thu, 18 May 2017 08:40:48 +0200 |
| Lines | 33 |
| Message-ID | <eo4tvgFpavlU1@mid.individual.net> (permalink) |
| References | <en83jtF9gfpU1@mid.individual.net> <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> <enr81cFhj3cU1@mid.individual.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net XWtEodljM6GVv0NUGRvewQJrk4OPxTdjexMxk6ekNYXjB2h46s |
| Cancel-Lock | sha1:oxB6JKltWIdiV+lyzAuwdN8WtMo= |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
| In-Reply-To | <enr81cFhj3cU1@mid.individual.net> |
| Xref | csiph.com comp.lang.php:17449 |
Show key headers only | View raw
Le 14/05/2017 à 16:31, J.O. Aho a écrit :
> 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.
>
OK. It will likely be the unique change, as I can't see any reason to
make new changes in the future...
Anyway, how would "code" a permanent move in my case ? Reminder :
The old URLs :
http://xxx/article.php3?id_article=xxxx
are now :
http://xxx/article.php3%3Fid_article=xxxx.html
xxxx being any number
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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