22 March 2011
Setting robots.txt on joomla
Tuesday, March 22, 2011 | Posted by
Dedi Haryono
Robots.txt is an important part in Search Engine Optimization, the form robots.txt file is .txt file in hosting at the root. The function of the robots.txt is to provide a code to the robot webcrawl googlebot or others, when it crawls your site or blog, to view please go to www.yoursite.com / robots.txt.
By default to the joomla robots.txt would look like this.
To change the robots.txt, a few steps to be done as follows:
- go to cpanel, hosting of your site.
- Then proceed to file manager and look at part public html
- After that, locate the file form. txt or a file named robots.txt and then edit.
Use code like below example:
By default to the joomla robots.txt would look like this.
User-agent: *
Disallow: /administrator/
Disallow: /cache/
Disallow: /components/
Disallow: /images/
Disallow: /includes/
Disallow: /installation/
Disallow: /language/
Disallow: /libraries/
Disallow: /logs/
Disallow: /media/
Disallow: /modules/
Disallow: /plugins/
Disallow: /templates/
Disallow: /tmp/
To change the robots.txt, a few steps to be done as follows:
- go to cpanel, hosting of your site.
- Then proceed to file manager and look at part public html
- After that, locate the file form. txt or a file named robots.txt and then edit.
Use code like below example:
User-agent: * Disallow: /administrator/ Disallow: /cache/ Disallow: /components/ Disallow: /images/ Disallow: /includes/ Disallow: /installation/ Disallow: /language/ Disallow: /libraries/ Disallow: /media/ Disallow: /modules/ Disallow: /plugins/ Disallow: /templates/ Disallow: /tmp/ Disallow: /xmlrpc/ User-agent: Mediapartners-Google Allow: / User-agent: Adsbot-Google Allow: / User-agent: Googlebot-Image Allow: / User-agent: Googlebot-Mobile Allow: / Sitemap: http://www.yoursite.com/sitemap.xml
If you as a google partner, like Google Adsense can use this code.
Labels:
Joomla Article,
Joomla module
Subscribe to:
Post Comments (Atom)
3 comments:
wow. tampilan baruu..keren mas.
Trims ya???
Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again.