On 25 Mar 2010, at 14:18 , vishnu.kumar wrote: > > Hi, > > I need to block google indexer from indexing my site. > > If it was a static site, i would put a htaccess or robots.txt, but > django is different right. > I cant put robot meta tag also, cause there are many pages in my site. > > How do i do it then? > > Vishnu Kumar
1. Match the "/robots.txt" address to return the correct content to block robots, either statically (intercept the URL using apache) or dynamically (specify that URL in Django's urlconf) 2. If you're using a "base" template of which all pages in the site inherit (which you should), you can put the correct meta tag in all pages 3. I'm pretty sure Google's Webmaster Tools allow you to control the behavior of the robots on your page, though that's google-specific (won't work for Yahoo's and Bing's bots) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.