1

Topic: Robots.txt for iRedAdmin

Hi,my admin area login is getting indexed by Google(each language. Where would I upload a robots.txt file to ban search engines from indexing the pages.

Thanks

2

Re: Robots.txt for iRedAdmin

If you're using CentOS, it should be appended in /var/www/html/robots.txt. Like below:

Disallow: /iredadmin

3

Re: Robots.txt for iRedAdmin

ZhangHuangbin wrote:

If you're using CentOS, it should be appended in /var/www/html/robots.txt. Like below:

Disallow: /iredadmin

Is there no way to add this in the '/usr/share/apache2/iRedAdmin-Pro-1.3.0' directory in one central location?
I am using Debian setup with multiple vhost so this would mean adding a robots.txt to each host?

4

Re: Robots.txt for iRedAdmin

web2works wrote:

I am using Debian setup with multiple vhost so this would mean adding a robots.txt to each host?

I think so.

5

Re: Robots.txt for iRedAdmin

I would prefer not to add this to each vhost so I have just added the meta tag to the layout template.
<meta name="robots" content="noindex,nofollow">

How come when I upload robots.txt to '/usr/share/apache2/iRedAdmin-Pro-1.3.0' I cant access it?