Forums » SEPHP Help and Tips

Socialengine and "noindex"

    • 139 posts
    May 28, 2020 11:48 AM EDT

    Hello. Google tends to index anything and everything.

    We can no longer control the cartography that is displayed and this is a real problem.

    I would like to prevent Google from indexing certain pages.

    Do you know where to place the noindex tag on the pages?

    Can we put them directly in the TPL files?

    If you have experience on this subject ...

    In advance thank you

    • 132 posts
    May 28, 2020 6:24 PM EDT

    How many pages?

     

    Do you know the URL's that you wish to block?

     

    What web server are you using?

    • 139 posts
    May 29, 2020 3:10 AM EDT

    We have a very powerful dedicated server and several pages to exclude from Google indexing.

    For example, it indexes the login page in English while the site is in French.

    Another case, it indexes unnecessary layouts ...

    In advance thank you

    • Moderator
    • 4830 posts
    May 29, 2020 5:23 AM EDT

    I use robots.txt to block login pages and some others.

    • 132 posts
    May 29, 2020 7:04 AM EDT
    Lovea said:

    We have a very powerful dedicated server and several pages to exclude from Google indexing.

    For example, it indexes the login page in English while the site is in French.

    Another case, it indexes unnecessary layouts ...

    You misunderstood my questions, so I'll be much more specific (it might be a language issue).

    1. What web server software are you using?
    2. Is it Apache?
    3. Do you have mod_rewrite and mod_headers enabled?

     

    1. Can you give some examples of the layouts that you don't want to index?
    2. Can you give the URL of the login page you want to to index?
    3. Can you give the URL of the login page you don't want it to index?
    • 139 posts
    June 17, 2020 11:52 AM EDT

    We are on Linux and an Apache server.

    I will check if mod_rewrite and mod_headers is enabled and find out about the impact of Google indexing.

    In fact, the site is in French, but Google indexes the login page but in English.

    Impossible to know why ...

    I noticed another curious thing, it indexes the socialengine wall while we are on a closed network.

    You must be registered to view it. I do not know what to think anymore.

    • 139 posts
    June 17, 2020 11:54 AM EDT
    Donna said:

    I use robots.txt to block login pages and some others.

    I will also test with the robot.txt
    Thanks Donna