feat(seo): canonicalize URLs, clean structured data, add audit gate

- Canonicals/hreflang/og point to www.bentopdf.com everywhere
- Drop fake aggregateRating; add Organization + breadcrumb JSON-LD
- Sitemap: filter 404/wasm-settings, mtime-based lastmod
- Rename locale ua → uk (correct ISO 639-1)
- Self-hoster: SITE_URL build arg, ROBOTS_NOINDEX runtime env
- Simple Mode indexable by default
- nginx: collapse .html and /index.html via 301
- SEO audit script + PR gate; runtime config noise fixed
- a11y contrast fix; language switcher gets search + scroll
- robots.txt: drop Crawl-delay
This commit is contained in:
alam00000 committed 2026-04-29 12:04:34 +05:30
1 parent eff1548ebe
commit 0040317e48
154 files changed
+950 -1010

No files matched your search

+5
View File
@@ -55,6 +55,10 @@ ENV VITE_BRAND_NAME=$VITE_BRAND_NAME
ENV VITE_BRAND_LOGO=$VITE_BRAND_LOGO
ENV VITE_FOOTER_TEXT=$VITE_FOOTER_TEXT
# Public-facing canonical site URL. See Dockerfile for details.
ARG SITE_URL=https://www.bentopdf.com
ENV SITE_URL=$SITE_URL
ENV NODE_OPTIONS="--max-old-space-size=3072"
RUN --mount=type=secret,id=VITE_CORS_PROXY_URL,required=false \
@@ -83,6 +87,7 @@ COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=builder /app/security-headers.conf /etc/nginx/security-headers.conf
COPY --from=builder /app/security-headers-docs.conf /etc/nginx/security-headers-docs.conf
COPY --chmod=755 entrypoint.sh /entrypoint.sh
COPY --chmod=755 nginx-noindex.sh /usr/local/bin/bentopdf-noindex.sh
RUN mkdir -p /etc/nginx/tmp \
/var/cache/nginx/client_temp \