Hi guys,
I have a question.
I just looked in all the configs on a server to see why all pages under /home/User on the server have "noindex nofollow" in the headers.
But I couldn't find anything in the apache and nginx configs or in the user .htaccess.
After a while I found a .htaccess in the / of server where the header always set X-Robots tag "noindex, nofollow" was written.
I then removed the .htaccess from / and all pages, including those under /home, no longer had an entry.
Is this a bug or feature of the DA nginx_apache?
addendum:
if in the /.htaccess
<IfModule mod_env.c>
Header onsuccess unset X-Robots-Tag
Header always set X-Robots-Tag "noindex, nofollow"
SetEnv modHeadersAvailable true
</IfModule>
and the user has an .htaccess with <IfModule mod_env.c> without
Header onsuccess unset X-Robots-Tag
Header always set X-Robots-Tag "noindex, nofollow"
then the user header has "noindex, nofollow" also
I have a question.
I just looked in all the configs on a server to see why all pages under /home/User on the server have "noindex nofollow" in the headers.
But I couldn't find anything in the apache and nginx configs or in the user .htaccess.
After a while I found a .htaccess in the / of server where the header always set X-Robots tag "noindex, nofollow" was written.
I then removed the .htaccess from / and all pages, including those under /home, no longer had an entry.
Is this a bug or feature of the DA nginx_apache?
addendum:
if in the /.htaccess
<IfModule mod_env.c>
Header onsuccess unset X-Robots-Tag
Header always set X-Robots-Tag "noindex, nofollow"
SetEnv modHeadersAvailable true
</IfModule>
and the user has an .htaccess with <IfModule mod_env.c> without
Header onsuccess unset X-Robots-Tag
Header always set X-Robots-Tag "noindex, nofollow"
then the user header has "noindex, nofollow" also
Last edited: