feat: 更新 robots.txt、base.tsx 和 sitemap.xml,增強 SEO 設定與多語言支援
This commit is contained in:
parent
906f112999
commit
d38505f6fa
4 changed files with 80 additions and 4 deletions
|
|
@ -1,2 +1,14 @@
|
|||
# ConvertX-CN robots.txt
|
||||
# 允許所有搜尋引擎爬蟲抓取網站內容
|
||||
|
||||
User-agent: *
|
||||
Disallow: /
|
||||
Allow: /
|
||||
|
||||
# 禁止抓取的路徑(API 端點與內部資源)
|
||||
Disallow: /api/
|
||||
Disallow: /data/
|
||||
Disallow: /uploads/
|
||||
Disallow: /output/
|
||||
|
||||
# Sitemap 位置
|
||||
Sitemap: https://convertx-cn.bioailab.qzz.io/sitemap.xml
|
||||
31
public/sitemap.xml
Normal file
31
public/sitemap.xml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<!-- 首頁 -->
|
||||
<url>
|
||||
<loc>https://convertx-cn.bioailab.qzz.io/</loc>
|
||||
<lastmod>2026-01-25</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1.0</priority>
|
||||
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://convertx-cn.bioailab.qzz.io/"/>
|
||||
<xhtml:link rel="alternate" hreflang="x-default" href="https://convertx-cn.bioailab.qzz.io/"/>
|
||||
</url>
|
||||
|
||||
<!-- 登入頁面 -->
|
||||
<url>
|
||||
<loc>https://convertx-cn.bioailab.qzz.io/login</loc>
|
||||
<lastmod>2026-01-25</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.8</priority>
|
||||
</url>
|
||||
|
||||
<!-- 註冊頁面 -->
|
||||
<url>
|
||||
<loc>https://convertx-cn.bioailab.qzz.io/register</loc>
|
||||
<lastmod>2026-01-25</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
|
||||
</urlset>
|
||||
Loading…
Add table
Add a link
Reference in a new issue