Stop google listing the files you do not want to show publicly

Do you notice anything you did not want to be in the output of search engine per your keyword or site name? Sometimes we need to hide your functional files and system folders from search engine output. This fix would Stop google listing the files you do not want to show publicly. So, the file  robots.txt is to be updated as per your needs and here is some best practice when your site is powered by MODX CMS. 

The better robots.txt example MODx Revo:
User-agent: *
Disallow: /manager/
Disallow: /assets/components/
Disallow: /core/
Disallow: /connectors/
Disallow: /index.php
Disallow: *?

 

The better robots.txt example MODx Evo:
User-agent: *
Disallow: /assets/cache/
Disallow: /assets/docs/
Disallow: /assets/export/
Disallow: /assets/import/
Disallow: /assets/modules/
Disallow: /assets/plugins/
Disallow: /assets/snippets/
Disallow: /install/
Disallow: /manager/
Disallow: /?
Disallow: /*?
Disallow: /index.php

 



Rate this information:
  • Currently0/5 Stars
  • 1
  • 2
  • 3
  • 4
  • 5
Votes: 0

May we recommend:
SEO mod for opencart  modx evo 2 langs in each folder  Web-based app to allow the client to generate, save both the kit list and the pick list as csv and pdf  Lightbox & CSS  

MODX CMS extensions Sale:

Anonymous checkout  import products into opencart  securing MODX forms  foxycart hook to updates inventory per option or variant of the product  


Modx Extras for advanced content