Article View: pl.comp.lang.php
Article #231300Re: newbie: moje rozwiązanie dla wymiany linków - proszę o opinie
From: jivanmukta
Date: Wed, 23 Mar 2016 15:12
Date: Wed, 23 Mar 2016 15:12
32 lines
2575 bytes
2575 bytes
> > A robots.txt też ma w dupie?
> nie, nie ma (i innych też)
A jakby zrobić tak:
W public_html/norobots/ mam plik recommended.html o treści:
<html>
<head>
<title>Recommended pages</title>
<meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<meta name="robots" content="noindex,nofollow">
<script type="text/javascript">
function change() {
location.href = location.href.substr(0, location.href.indexOf('/norobots/recommended.html')) + '/index.php/announcement/links';
}
</script>
</head>
<body onload="change();">
</body>
</html>
W robots.txt mam:
User-agent: *
Disallow: /*/norobots/
Na stronie głównej mam (widok):
echo '<img src="', rs_img('log.gif'), '" width="35" height="30" alt="polecamy strony"><a href="', WEBSITE_POLISH, '/norobots/recommended.html">Polecamy strony</a>';
Czy to ma sens?
Technical Details
Message-ID:
<0a489398-4ae6-4657-b51f-122d1bf84ccd@googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin3!goblin.stu.neva.ru!news.ripco.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!w104no8316028qge.1!news-out.google.com!b22ni1380qge.1!nntp.google.com!w104no8316024qge.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailReferences:
<621f5e9e-c468-4949-8f3f-1a80991445b9@googlegroups.com> <20160317112051.79ec046e@pe> <5316b483-7547-402c-b3fe-714c4b2167e8@googlegroups.com> <20160317131635.75335b04@pe> <96c6c55c-ff9f-4c3f-b002-441048cdb18b@googlegroups.com> <ncu79k$1vn5$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
X-Received: by 10.157.45.67 with SMTP id v61mr1979677ota.10.1458745966568; Wed, 23 Mar 2016 08:12:46 -0700 (PDT) X-Received: by 10.50.36.68 with SMTP id o4mr369283igj.1.1458745966496; Wed, 23 Mar 2016 08:12:46 -0700 (PDT) Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin3!goblin.stu.neva.ru!news.ripco.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!w104no8316028qge.1!news-out.google.com!b22ni1380qge.1!nntp.google.com!w104no8316024qge.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: pl.comp.lang.php Date: Wed, 23 Mar 2016 08:12:45 -0700 (PDT) In-Reply-To: <ncu79k$1vn5$1@gioia.aioe.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=89.72.94.100; posting-account=Y8V58QoAAACtLuF8lEt8MaiUjYUTCWP6 NNTP-Posting-Host: 89.72.94.100 References: <621f5e9e-c468-4949-8f3f-1a80991445b9@googlegroups.com> <20160317112051.79ec046e@pe> <5316b483-7547-402c-b3fe-714c4b2167e8@googlegroups.com> <20160317131635.75335b04@pe> <96c6c55c-ff9f-4c3f-b002-441048cdb18b@googlegroups.com> <ncu79k$1vn5$1@gioia.aioe.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0a489398-4ae6-4657-b51f-122d1bf84ccd@googlegroups.com> Subject: Re: newbie: moje rozwiązanie dla wymiany linków - proszę o opinie From: jivanmukta@poczta.onet.pl Injection-Date: Wed, 23 Mar 2016 15:12:46 +0000 X-Received-Bytes: 2314 X-Received-Body-CRC: 765076871 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit