Skip to content

Traffic Maximization — Commands for @B_Niko

1. Google Search Console Verification

SSH into VPS and run:

# Download the verification file from Google Search Console
# (click the download button in the browser, then scp to VPS)
# OR add the HTML tag method — edit mkdocs.yml:

cd /var/www/smarthub.my/wiki
nano mkdocs.yml

# Add under 'extra' or 'theme.custom_dir':
# Then in overrides/main.html add:
# <meta name="google-site-verification" content="YOUR_CODE_HERE" />

# Then rebuild:
mkdocs build

After verification, submit sitemap: - Go to Search Console → Sitemaps - Add: https://smarthub.my/wiki/sitemap.xml

2. Fix Cache Headers

# Edit Caddyfile
nano /etc/caddy/Caddyfile

# Find the smarthub.my wiki section and add:
# header /wiki/* Cache-Control "no-cache, must-revalidate"

# Reload Caddy:
caddy reload --config /etc/caddy/Caddyfile

3. Upload RH Proof PDF

# From your local machine (where you downloaded the PDF):
scp RH_Proof_Final.pdf root@YOUR_VPS:/var/www/smarthub.my/wiki/docs/papers/rh/RTSG-2026-RH-001.pdf
cd /var/www/smarthub.my/wiki && mkdocs build

4. Create Gitea Repo

Go to git.smarthub.my → New Repository → Name: rh-functional-bridge

cd /tmp && mkdir rh-repo && cd rh-repo
git init
# Copy tex and pdf files here
git add .
git commit -m "The Riemann Hypothesis via the Functional Bridge — v7.0"
git remote add origin https://git.smarthub.my/rtsg/rh-functional-bridge.git
git push -u origin main