Change meta tag robots

Change meta tag robots

Nosūtīja Nicola Rossi
Atbilžu skaits: 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.

Vidējais novērtējums: -
Atbildot uz Nicola Rossi

Re: Change meta tag robots

Nosūtīja Jon Bolton
Particularly helpful Moodlers attēls Testers attēls

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.