Change meta tag robots

Change meta tag robots

ni Nicola Rossi -
Number of replies: 1

Good evening, I need to index the login page which is this:

https://www.example.com/moodle/login/index.php

currently, if I view the source code of this page, I see this line:

<meta name =" robots "content =" noindex "/>

of course I need to change.


I tried to see if the index.php file contains this line, but there is no trace.

Average of ratings: -
In reply to Nicola Rossi

Re: Change meta tag robots

ni Jon Bolton -
Larawan ng Particularly helpful Moodlers Larawan ng Testers

Go to Site Administration > Security > Site security settings and check the setting for “Allow indexing by search engines”.

This determines whether to allow search engines to index your site. "Everywhere" will allow the search engines to search everywhere including login and signup pages, which means sites with Force Login turned on are still indexed. To avoid the risk of spam involved with the signup page being searchable, use "Everywhere except login and signup pages". "Nowhere" will tell search engines not to index any page. Note this is only a tag in the header of the site. It is up to the search engine to respect the tag.