Skip to content

Commit cd0350a

Browse files
committed
Move the guide to its own domain twojajdg.pl
The site lived at sobolevbel.github.io/jdg/, where Google derived the site name from the host's home page (GitHub's 404) instead of the guide. - docs/CNAME (not the repo root: gh-deploy --force rewrites gh-pages, so a root-level CNAME would be wiped on every deploy and unset the domain) - site_url, extra.homepage, the sitemap line in docs/robots.txt and the five absolute in-content links now point at the apex - overrides/main.html builds hreflang x-default from config.site_url instead of the hardcoded '/jdg/en/' path, which no longer occurs in canonical URLs (it would have left the EN URL untouched and pointed x-default at /en/) - GA cookie_domain matches the new host, otherwise nothing is tracked - lychee skips own-domain links: they only resolve after a deploy
1 parent f3bde7b commit cd0350a

16 files changed

Lines changed: 36 additions & 16 deletions

File tree

.github/ISSUE_TEMPLATE/content-error.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body:
77
attributes:
88
label: Страница гайда
99
description: Ссылка на страницу, где нашли проблему
10-
placeholder: https://sobolevbel.github.io/jdg/zus/
10+
placeholder: https://twojajdg.pl/zus/
1111
validations:
1212
required: true
1313
- type: textarea

CLAUDE.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
11
# CLAUDE.md
22

33
Community guide "ИП в Польше" (running a sole proprietorship / JDG in Poland).
4-
MkDocs Material site published to GitHub Pages: <https://sobolevbel.github.io/jdg/>
4+
MkDocs Material site published to GitHub Pages: <https://twojajdg.pl/>
55
(English mirror at `/en/`). Content language is Russian (canonical) + English mirror.
6-
There is **no custom domain** — the github.io URL above is the only canonical one.
6+
7+
## Custom domain
8+
9+
`twojajdg.pl` is an apex custom domain (registrar + DNS: OVH), live since
10+
August 2026. The `CNAME` file lives in **`docs/`**, not the repo root — CI
11+
deploys with `mkdocs gh-deploy --force`, which rewrites the whole `gh-pages`
12+
branch, so a root-level CNAME would be wiped on every deploy and GitHub would
13+
unset the domain. Apex needs four A records to `185.199.108–111.153` (plus AAAA
14+
`2606:50c0:8000–8003::153`); `www` is a CNAME to `sobolevbel.github.io`.
15+
GitHub then 301-redirects both `sobolevbel.github.io/jdg/` and `www` to the
16+
apex — that redirect is why every absolute URL (`site_url`, `extra.homepage`,
17+
the sitemap line in `docs/robots.txt`, in-content links) must point at
18+
`https://twojajdg.pl/` and never at the old github.io path. Own-domain links
19+
are excluded in `lychee.toml`: they only resolve after a deploy, and CI checks
20+
the PR before it. GA (`G-65Z83YVGT1`) pins `cookie_domain` in
21+
`docs/javascript/extra.js` — it must match the live host or nothing is tracked.
722

823
## Build and checks
924

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
в Польше для иностранцев: PESEL, регистрация фирмы, ZUS, налоги, декларации,
99
бухгалтерия, легализация (карта побыту).
1010

11-
**📖 Читать гайд: <https://sobolevbel.github.io/jdg/>**
11+
**📖 Читать гайд: <https://twojajdg.pl/>**
1212

1313
Вопросы и обсуждение — в Telegram-чате [«ИП в Польше»](https://t.me/JDG_PBH).
1414
Для участников проекта есть [чат контрибьюторов](https://t.me/+WK5ppqgHxXA3MjAy).
@@ -18,7 +18,7 @@
1818
A community-driven guide to registering and running a sole proprietorship (JDG)
1919
in Poland as a foreigner — PESEL, company registration, ZUS, taxes, VAT,
2020
accounting, residence permit. Read it at
21-
**<https://sobolevbel.github.io/jdg/en/>** (or use the language switcher in the
21+
**<https://twojajdg.pl/en/>** (or use the language switcher in the
2222
site header).
2323

2424
## Как помочь проекту

docs/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
twojajdg.pl

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Spółka, sp.z.o.o - аналог ООО, общества с ограничен
137137
официальных источниках ([biznes.gov.pl][8], [podatki.gov.pl][9],
138138
[zus.pl][10]) или консультируйтесь с бухгалтером.
139139

140-
[1]: https://sobolevbel.github.io/jdg/en/
140+
[1]: https://twojajdg.pl/en/
141141
[2]: https://t.me/JDG_PBH
142142
[3]: https://t.me/+WK5ppqgHxXA3MjAy
143143
[4]: https://legaltaxlevel.com/ip_pl?utm_source=jdg-guide&utm_medium=referral&utm_campaign=accounting&utm_content=index

docs/javascript/extra.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ window.dataLayer = window.dataLayer || [];
22
function gtag(){dataLayer.push(arguments);}
33
gtag('js', new Date());
44
gtag('config', 'G-65Z83YVGT1', {
5-
'cookie_domain': 'sobolevbel.github.io'
5+
'cookie_domain': 'twojajdg.pl'
66
});

docs/robots.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
User-agent: *
22
Allow: /
3-
Sitemap: https://sobolevbel.github.io/jdg/sitemap.xml
3+
Sitemap: https://twojajdg.pl/sitemap.xml

docs/wfirma_settings.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Enter **exactly the same data** in wFirma settings as you provided when register
137137
You can verify it using the official service [e-Składka](https://eskladka.pl/Home).
138138

139139
2. Select the [contribution scheme][20] (Schemat składek społecznych).
140-
* If you're just starting your sole trader adventure, this is most likely [Ulga na start](https://sobolevbel.github.io/jdg/zus/#ulga-na-start) (startup relief; make sure you're eligible for this relief!).
140+
* If you're just starting your sole trader adventure, this is most likely [Ulga na start](https://twojajdg.pl/zus/#ulga-na-start) (startup relief; make sure you're eligible for this relief!).
141141
* If you're already an experienced entrepreneur, wFirma will additionally ask you to choose "Voluntary sickness contributions: YES/NO" (Dobrowolne chorobowe).
142142
* Here are all available options:
143143

docs/wfirma_settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ tags:
137137
Проверить можно с помощью официального сервиса [e-Składka](https://eskladka.pl/Home).
138138

139139
2. Выберите [схему взносов][12] (Schemat składek społecznych).
140-
* Если вы только начинаете свои приключения с ИП, то скорее всего для вас это [Ulga na start](https://sobolevbel.github.io/jdg/zus/#ulga-na-start) (льгота для начинающих; убедитесь, что имеете право на применение этой льготы!).
140+
* Если вы только начинаете свои приключения с ИП, то скорее всего для вас это [Ulga na start](https://twojajdg.pl/zus/#ulga-na-start) (льгота для начинающих; убедитесь, что имеете право на применение этой льготы!).
141141
* Если вы уже предприниматель со стажем, то дополнительно wFirma предложит выбрать "Добровольные больничные взносы: ДА/НЕТ" (Dobrowolne chorobowe).
142142
* Перечислим все доступные варианты:
143143

docs/whatsnew.en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ tags:
99

1010
## August 2026
1111

12+
- The guide moved to its own domain — `twojajdg.pl`. The old `sobolevbel.github.io/jdg/…` addresses redirect to the new ones automatically, so existing bookmarks and links shared in chats keep working.
1213
- Updated the [VAT-UE registration step in CEIDG](registration_vat_ue.md#13-registering-as-a-vat-ue-taxpayer): the goods/services checkboxes are gone from the form — now you only enter the expected start date of intra-community transactions (screenshot refreshed).
1314
- New page: [Full-Service Accounting](accounting.md) — when it makes sense to delegate the books, the terms of the guide's partner Legal Tax Level, and an honest section on alternatives.
1415
- The [Profil Zaufany](pz.md) page expanded: what you need it for, how to log in (including when the profile was created through a bank and there is no password), how to reset the password and extend its validity.

0 commit comments

Comments
 (0)