Bug #73918 [Nab->ReO]: selected language ignored

From: Date: Mon, 30 Jan 2017 12:13:04 +0000
Subject: Bug #73918 [Nab->ReO]: selected language ignored
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-25565@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73918&edit=1 ID: 73918 Updated by: cmb@php.net Reported by: meghesanovidiu at yahoo dot com Summary: selected language ignored -Status: Not a bug +Status: Re-Opened Type: Bug Package: Website problem PHP Version: Irrelevant -Assigned To: cmb +Assigned To: Block user comment: N Private report: N New Comment: The PHP manual has hreflang links, so search engines should cater to that. It may be, however, that there's something wrong with the hreflang links. I don't have time to investigate on this, though. Previous Comments: ------------------------------------------------------------------------ [2017-01-18 08:26:42] meghesanovidiu at yahoo dot com yeah, but since i can't control what urls google returns to my search (i already tried setting the language of the results, with no visible effects), i expect the php site to respect my choice. ------------------------------------------------------------------------ [2017-01-12 13:06:49] cmb@php.net If the language is explicitly specified in the URL, it overrides the selected language. Compare the behavior of the following URLs with regard to the selected language: <http://php.net/manual/function.strpos.php> <http://php.net/manual/en/function.strpos.php> <http://php.net/manual/ro/function.strpos.php> Only the first URL will respect the selected language; the others will choose the language given in the URL. ------------------------------------------------------------------------ [2017-01-12 11:18:09] meghesanovidiu at yahoo dot com Description: ------------ i search for a php function on google, which lands me on the function page in the php doc. it automatically selects the language (romanian for me). i choose english. the next time i repeat the procedure (from the search), i land again on the php site on the romanian version so i have to change the language again. the site should keep my language option in a cookie and respect it. it's annoying to change it every time i come to the site... ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73918&edit=1

« previous php.webmaster (#25565) next »