Loading...
 
Skip to main content

robots.txt should exclude ALL print-friendly pages

Status
Closed
Subject
robots.txt should exclude ALL print-friendly pages
Version
1.8.x
1.9.x
2.x
Category
  • Feature request
Feature
All / Undefined
Installer (profiles, upgrades and server-related issues)
Search engine optimization (SEO)
Resolution status
Fixed or Solved
Submitted by
John Hadjisky
Volunteered to solve
Luis Henrique Fagundes
Lastmod by
Beestje
Rating
(0)
Description

The robots.txt in the current distro (1.9.x Sirius) contains

Disallow: tiki-print.php

Should it not also contain

Disallow: tiki-print_article.php
Disallow: tiki-print_blog_post.php
Disallow: tiki-print_multi_pages.php
Disallow: tiki-print_pages.php

Solution

It should.

Per Robots.txt Disallow entries now must have leading slash, each of these must actually have a leading slash, so:

Disallow: /tiki-print.php
Disallow: /tiki-print_article.php
Disallow: /tiki-print_blog_post.php
Disallow: /tiki-print_multi_pages.php
Disallow: /tiki-print_pages.php

I will do this once I figure out CVS...unless anyone else wants to jump in...it should be an easy fix.

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
443
Created
Wednesday 21 December, 2005 14:43:24 UTC
by Unknown
LastModif
Wednesday 15 April, 2009 14:56:06 UTC


Show PHP error messages