Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17414
| 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 | page redirecttion in PHP ? |
| Date | Sun, 7 May 2017 10:19:09 +0200 |
| Lines | 21 |
| Message-ID | <en83jtF9gfpU1@mid.individual.net> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net 887F1b0US7nzNLFjBbgWxQj4pi2ie+fhYeJ4atBVf3SJOUYdic |
| Cancel-Lock | sha1:gctxRRwB0r5wEzlQTCIpi9er4Lk= |
| X-Mozilla-News-Host | news://news.individual.net:119 |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
| Xref | csiph.com comp.lang.php:17414 |
Show key headers only | View raw
Hi, I have converted an old SPIP site into a static version, using wget. It's OK, except that URLs of the type 1) http://xxx/article.php3?id_article=6296 are now 2) http://xxx/article.php3?id_article=6296.html Not a big deal, Google re-index the site from the root URL http://xxx/ which is still valid, but I wonder if there exist a simple mean to redirect the invalid URLs (1) to the valid ones (2) ? I guess that it could be done by creating an appropriate "article.php3" file, but I am a full newbie in php... Any help appreciated
Back to comp.lang.php | Previous | Next — 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