开发者

robots.txt file disallow root directory wordpress

now in wordpress there is a file named wp-config.php开发者_C百科 and it contains all the passwords to database. If i allow google bot to index the whole web folder without disallowing root folder will the wp-config.php file be indexed ?


No it won't. The php will be executed when that file is viewed, and at the top, it has code which tells the server to spit out an empty page. Anyone who browses to that URL will see just a blank page. Verify this yourself...


No it won't I guess. allow google bot to index and check whether you can access the wp-config.php as third party user.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜