#22706 [Opn]: mirror site has hard-coded links to www.php.net
| From: | jacques@php.net | Date: | Sat, 15 Mar 2003 02:07:02 +0000 |
| Subject: | #22706 [Opn]: mirror site has hard-coded links to www.php.net | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-16366@lists.php.net to get a copy of this message | ||
ID: 22706
Updated by: jacques@php.net
Reported By: vbhackattack at hotmail dot com
Status: Open
Bug Type: Website problem
Operating System: Windows 2000
PHP Version: 4.3.1
New Comment:
Hi
Using the search box on the top of the browser while on the search
results page now remembers which mirror you originated from, so that
when you click on the results it takes you back to the original site
you came from.
There are various links to www.php.net in the manuals, etc. for
downloads, etc. as lots of people do download the manuals for use on
their pc's, and linking to www.php.net does make sense.
Regards
--jm
Previous Comments:
------------------------------------------------------------------------
[2003-03-14 14:36:29] jacques@php.net
I'm currently having a look at the searching from the search results
page issue.
Regards
--jm
------------------------------------------------------------------------
[2003-03-14 13:57:58] vbhackattack at hotmail dot com
P.P.S. Regarding the website search function. There is a nasty side
effect of the redirection to ch.php.net for the search results page. If
you perform a second search from the search results page, you
completely lose your original domain which for the first set of results
is cached in the URL and appears in all the results links, e.g.
http://ch.php.net/search.php?show=wholesite&pattern=mail&base=http%3A%2F%2Fca.php.net%2F&lang=en
Instead, since the search is initiated from ch.php.net the second
search results page is all links within ch.php.net. Not what I was
expecting.
So whatever magic allows search results appearing on ch.php.net to link
back to the originating domain, e.g. ca.php.net should also apply to
searches initiated from this results page so the domain remains
ca.php.net (or whatever I stared from) at all times.
Comprende?
------------------------------------------------------------------------
[2003-03-14 12:29:27] vbhackattack at hotmail dot com
P.S. In speaking about the website search function, when I say
localized manual pages, I mean the 2 character language code embedded
in the URL of the page. Since I'm starting from ca.php.net and have
EN-US as my browser / OS locale, I don't want to have "fr" pages
showing up in the search results, e.g.
http://ca.php.net/manual/fr/ref.mail.php
If you search for "mail" in the "whole site" you end up with the same
page repeated many times for "en", "fr", "it", "tw",
"de". Whoa!
Regards
------------------------------------------------------------------------
[2003-03-14 12:08:19] vbhackattack at hotmail dot com
I'm using a mirror site ca.php.net. However, some pages are full of
hard-coded links to www.php.net, e.g.
http://ca.php.net/manual/en/install.windows.php.
This is true of other
mirrors that I looked at (uk.php.net, au.php.net and ch.php.net)for the
same pages. Ordinarily this is no big deal, except that today
www.php.net is gummed up, perhaps with everyone downloading the lastest
RC? So I definitely don't want to go there. As a general rule, I don't
want redirecting off my starting mirror.
In addition, the search function returns lots of results from localized
manual pages that are not my locale. I never want to see these pages,
just my own locale version. But there is no way to specify this
restriction.
Thanks
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22706&edit=1