You are here: Re: 301 issue « All PHP « IT news, forums, messages
Re: 301 issue

Posted by Luigi Donatello Asero on 08/24/05 14:41

"Steve" <googlespam@nastysoft.com> skrev i meddelandet
news:1124879520.506555.237890@o13g2000cwo.googlegroups.com...
>
> > So, why did I not find the code 301 instead of the code 302 in the
logfile?
>
> Many reasons, which you are too lazy to bother with.


Ma perche` mi hai risposto soltanto in italiano ed in inglese?
I suppose you have already learned Swedish, German, Russian, French,
Finnish and
Chinese in
the meanwhile!
(because you are industrious instead)


> session_write_close(); // if required
> header( "HTTP/1.1 301 Moved Permanently" );
> header( "Status: 301 Moved Permanently" );
> header( "Location:
> http://www.example.com/un_italiano_pigro_che_vive_in_svezia.html" );
> exit();

Some questions:
1) Why did you not use opening and closing tags for php?
2) Why did not the example on the page
work?
http://www.webconfs.com/how-to-redirect-a-webpage.php
3) Why is your example supposed to work?


--
Luigi Donatello (un italiano che vive in Svezia)
(minä olen Italian kansalainen, mutta minä asun Ruotsissa)
( 我是 意大利人 , 但是 我 主 在 瑞典)
(я ятальянец а я живу в Швеции )
https://www.scaiecat-spa-gigi.com/it/traduzioni.php

 

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

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