[Moin-user] Specifying robot meta tags for selected pages

Sandip Bhattacharya sandip at lug-delhi.org
Wed Jul 14 10:47:00 EDT 2004


> Modify wikiutil.py, about line 894 to read:
>
> # if it is a special page, index it and follow the links - we do it for
> # the original, english pages as well as for (the possible modified)
> # frontpage:
> elif pagename in ['FrontPage', page_front_page, config.page_front_page,
>                    page_title_index, ]:
>      user_head += '''<meta name="robots" content="index,follow">\n'''
>

This works very well (http://www.lug-delhi.org) ! Thank you!

- Sandip

-- 
Sandip Bhattacharya
sandip (at) puroga.com
Puroga Technologies Pvt. Ltd.
Work: http://www.puroga.com        Home: http://www.sandipb.net

GPG: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3





More information about the Moin-user mailing list