The plan was straightforward. I run a fabric manufacturing site. Code hosting platforms have high domain authority, they let you create unlimited public repositories, and every repository has a README that renders Markdown with links in it.

Three repos, one per product line, each README carrying a spec table and a link to the matching product page. Cheap, legitimate, and it looks like engineering documentation rather than link spam.

I checked the rel attributes before writing a single README. The plan does not work.

Codeberg: eight links, eight nofollow

My account already has a repository called mujia-textile-company. Its description field links to the site, and the README has a Links section with five more.

Fetched the page and pulled every <a> pointing at the domain:

# Location rel
1 repo description noopener noreferrer nofollow
2 README first paragraph nofollow
3 README Links — Website nofollow
4 README Links — Products nofollow
5 README Links — About nofollow
6 README Links — Contact nofollow
7 README Links — Buying guides nofollow
8 README footer nofollow

Eight for eight. The page itself is fine — 200, no noindex, no canonical conflict, 593 KB of rendered HTML. The links inside it transfer nothing.

GitHub: six links, six nofollow

Same check on psf/requests, a repository with a README full of external references:

rel count
nofollow 6

Samples: pypi.org/project/requests/, pepy.tech/project/requests, requests.readthedocs.io, kennethreitz.org, python.org/psf.

Every external link in the rendered README carries rel="nofollow".

GitLab: same answer, different attribute order

GitLab renders READMEs client-side, so a plain GET returns a 50 KB shell with no content. Had to open it in a real browser and read the DOM:

document.querySelectorAll('.file-content a[href^="http"]') 

gitlab-org/gitlab README, one external link:

<a href="https://about.gitlab.cn/" rel="nofollow noreferrer noopener"> 

Same policy, attributes in a different order. If you are pattern-matching on rel === "nofollow" you will miss this one — the value is a space-separated token list and the order is not stable across platforms.

The one exception

Codeberg's profile page is a different story. https://codeberg.org/mujia-textile has three links to the site:

# rel Verdict
1 noopener noreferrer me dofollow
2 nofollow nofollow
3 noopener noreferrer nofollow nofollow

Exactly one passes. It is in the profile sidebar — the field the platform itself renders from your account settings, not from content you authored.

That distinction is the whole finding. User-authored content gets nofollow. Platform-rendered profile fields sometimes do not. The profile sidebar is rel="me", which is a claim of identity rather than a citation, and platforms treat it differently.

Why it works this way

Anywhere a user can type arbitrary text that renders as HTML, the platform has to assume it will be abused. READMEs, issue comments, forum posts, wiki edits, profile bios — all the same problem. The cheap fix is rel="nofollow" on everything in the user content area.

Profile fields are different because there are few of them, they are structured, and the platform controls the rendering. A website URL field is a single value, validated, and displayed once. That is cheap to police and expensive to spam at scale.

So the rule is not "high DA sites give good links." It is:

Content type Typical rel
User-authored body content (README, comments, posts) nofollow
Platform-rendered profile fields often dofollow, often rel="me"
Platform-rendered pages for accounts (new/small) sometimes noindex on top

The third row is the one that bit me on a different platform last week — a whole publication where every page carried noindex, so the dofollow links inside transferred nothing because there was no indexed page to transfer from.

How to check before you invest

One fetch, three regexes:

const html = await (await fetch(url)).text(); // page-level: is this indexable at all? const robots = html.match(/<meta\s+name=["']robots["']\s+content=["']([^"']*)["']/i); if (robots && /noindex/i.test(robots[1])) { console.log('page is noindex — stop, links here are worth zero'); } // link-level: does this specific link pass weight? for (const m of html.matchAll(/<a\b([^>]*)>/gi)) { const attrs = m[1]; if (!attrs.includes('yourdomain.com')) continue; const rel = (attrs.match(/rel=["']([^"']*)["']/i) || [])[1] || ''; // rel is a token list — split before testing const tokens = rel.toLowerCase().split(/\s+/).filter(Boolean); console.log(tokens.includes('nofollow') ? 'nofollow' : 'dofollow', attrs.slice(0, 80)); } 

The split(/\s+/) matters. GitLab puts nofollow first, Codeberg puts it last, GitHub puts it alone. A string equality check against "nofollow" returns false on two out of three.

What I did instead

Deleted the plan for three repos. The existing mujia-textile-company repository stays up — it has a real README with product specs, certifications, and sampling policy, and it is a legitimate credibility artifact if a buyer searches the company name. It is just not a link.

The one dofollow from the profile sidebar stays counted. Everything else does not.

If you are building a link strategy and code hosting is on the list, this is a ten-minute check that saves you a week of README writing.

The site is mujiatextile.com and the account is at codeberg.org/mujia-textile — the sidebar link with rel="me" is the only one that counts, and you can verify that in view-source. And yes, this post is a backlink.