Community Forum

User info

Welcome, Guest! Please login or register.


You are here » Community Forum » Problems with the Forum » Robots metatags


Robots metatags

Posts 1 to 6 of 6

1

Hi there!

I had previously set up SE indexing, but later realized that I don't really want my forum indexed in search engines.

I've been trying to add noindex & nofollow metatags on the Forum administration Promotion screen but I'm getting odd results:

Entering robots in the Name field and noindex in the Contents field does not show any updated tags in the Admin, and no tags are visible when viewing the source code.

Entering "robots" - "noindex" or "robots" - "nofollow" (with double-quotes) does update the Admin with robots - "noindex" or robots - "nofollow", but the tags appear like this in source code (double-quotes are rendered as HTML numeric):

Code:
<meta name="robots" content="&quot;noindex&quot;" />
<meta name="robots" content="&quot;nofollow&quot;" />

Not sure if that's gonna "take".   :dontknow:

Added after 4 minutes 20 seconds:
Update - Just tried something else that got the metatags to appear correctly in source. One must enter the tags in the Admin fields with double-quotes around the Name entry, but without double-quotes around the Content entry:

"robots" - noindex

That correctly renders the tags in source like so:

Code:
<meta name="robots" content="noindex" />
<meta name="robots" content="nofollow" />

:)

Last edited by Buzzer (2017-02-25 20:47:17)

0

2

Buzzer wrote:

One must enter the tags in the Admin fields with double-quotes around the Name entry, but without double-quotes around the Content entry

Yes, it is like this somehow and rather inconvenient. May be a glitch.

0

3

Hi Buzzer,
Nice hack ^^
We have solved the problem.

0

4

Um, now I'm getting weird results in source. Regardless of what I enter in the admin fields, I get 2 conflicting metatags in source:

Code:
<meta name="robots" content="noindex, nofollow" />
<meta name="robots" content="noindex, follow" />

Added after 7 hours 17 minutes 46 seconds:
Hmm, now there's only a single robots tag, and it's back to normal:

Code:
<meta name="robots" content="noindex, nofollow" />

Did somebody fix something? Or do we have gremlins in the machinery?  :crazy:

Last edited by Buzzer (2017-02-28 10:04:08)

+2

5

Buzzer
This is because in the forum already have robots meta tag :hobo:
Now we have fixed for the case when you have added your own robots meta tag. There is no longer conflict.

+1

6

Admin wrote:

Buzzer
This is because in the forum already have robots meta tag :hobo:
Now we have fixed for the case when you have added your own robots meta tag. There is no longer conflict.

Thank you!  :glasses:

0


You are here » Community Forum » Problems with the Forum » Robots metatags