Indexing User Profiles

Hey everyone, happy new year :))

From what I know the users are made not to be indexed on Google or any search results. However, I have removed /u from admin/customize/robots so is that enough or there more changes to do, also if anyone is curious what I’m trying to do is that I would love my community users profile to be indexed on search engines.

I have the same question

I discovered option as in the photo

then I modified the robots.txt

# Block aggressive third-party crawlers

User-agent: mauibot
Disallow: /

User-agent: semrushbot
Disallow: /

User-agent: ahrefsbot
Disallow: /

User-agent: blexbot
Disallow: /

User-agent: seo spider
Disallow: /

# General rules for all crawlers

User-agent: \*
Disallow: /admin/
Disallow: /auth/
Disallow: /email/
Disallow: /session
Disallow: /user-api-key
Disallow: /badges
Disallow: /my
Disallow: /search
Disallow: /g

# Block low-value pages

Disallow: /u/          # user profiles
Disallow: /tag/        # tag indexes
Disallow: /\*.json      # JSON API responses

# Block feeds (not useful for indexing)

Disallow: /t/*/*.rss
Disallow: /c/\*.rss

# Allow Googlebot (same rules as above)

User-agent: Googlebot
Disallow: /admin/
Disallow: /auth/
Disallow: /email/
Disallow: /session
Disallow: /user-api-key
Disallow: /badges
Disallow: /my
Disallow: /search
Disallow: /g
Disallow: /u/
Disallow: /tag/
Disallow: /*.json
Disallow: /t/*/*.rss
Disallow: /c/*.rss

# Point to sitemap

Sitemap: https://site.com/sitemap.xml