![]() | | ||||||||
| | #1 |
| Internet and Web Design Join Date: Nov 2010 Location: India
Posts: 5
Thanks: 0
Thanked 2 Times in 2 Posts
|
Please someone let me know the difference between these two: .htaccess and robots.txt |
| | |
| | #2 |
| People Know Me War Room Member Join Date: Sep 2006 Location: Virginia Beach
Posts: 667
Thanks: 21
Thanked 129 Times in 111 Posts
|
Robot.txt is primarily used to restrict/approve access for spiders .htaccess is primarily used for mod_rewrite, blocking IPs, and file/directory access |
|
Need a Wordpress Consultant? Have Wordpress questions? Please contact me and I can help you.
| |
| | |
| | #3 |
| Active Warrior Join Date: Mar 2010
Posts: 34
Thanks: 4
Thanked 3 Times in 3 Posts
|
.htaccess is primarily used for configuring permissions on your server, you would use this file to allow friendly URL's to be written. This is crucial if you want your site to rank well. configuring the robots.txt file is useful so that you can tell any bot that spiders your site where they can go and where they are not allowed. This can save you a huge amount of bandwidth as you only really want search engine spiders to crawl the parts of your site that can actually be indexed and just ignore the rest. |
|
If you want to buy prescription glasses direct then save money and reglaze glasses or visit my blog for tips and advice on prescription glasses | |
| | |
| | #4 |
| Active Warrior Join Date: Dec 2010
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
|
Hello friends I think .htaccess is used in guiding the behaviors of your own sites while robots.txt file is used in guiding the behaviors of search engine bots. |
| | |
![]() |
|
| Tags |
| difference, htaccess, robotstxt |
| Thread Tools | |
| |
![]() |