在Shopline上安裝您的AI-Ready檔案
最後更新:2026年9月19日
Shopline設有robots.txt編輯器、自訂網站地圖上載、自訂頁面及Custom Code應用程式,可處理五個檔案中的四個;llms.txt的做法會與您一同確認。
5個檔案中,有1個完全無法在Shopline上安裝。我們已逐一標明並附上原因,不用您自行發現。
robots.txt
Files: robots.txt
這個檔案告訴搜尋引擎及AI爬蟲,您網站的哪些部分可以讀取。
- In the SHOPLINE admin, go to Channels, then Online Store, then Preferences.
- Find Robots.txt Management and click Go to settings.
- In the Robots editor, replace the contents with the robots.txt file we sent. Keep any rules you already rely on.
- Click Update, then open the robots.txt link again to check the saved result. If you changed the older Anti-crawler settings, SHOPLINE adds those disallow rules to the end of the file by itself.
sitemap.xml
Files: sitemap.xml
這個檔案列出您網站的頁面,讓爬蟲毋須猜測便能找到。
- In the SHOPLINE admin, go to Online Store, then Preferences, and find Sitemap.xml management.
- SHOPLINE already publishes its own sitemap at yourstoredomain.com/sitemap.xml. We recommend leaving that default switched on.
- Under Custom sitemap, click Upload Sitemap.xml and choose the sitemap.xml we sent. Only .xml files are accepted, up to 10 files, each up to 50 MB and 50,000 URLs.
- If the default and your custom sitemap are both on, search engines may read both, so tell us if you would rather we only supply the pages SHOPLINE does not already list.
llms.txt and llms-full.txt
Files: llms.txt, llms-full.txt
這兩個檔案為AI系統提供一份簡短的純文字網站導覽,以及一份較完整的網站內容副本,採用AI讀取最快的格式。
無法在Shopline上安裝。 SHOPLINE's help centre lists an LLMS.txt settings area under Online Store, then Preferences, but the article that explains it is behind a sign-in, so we could not confirm whether you can upload your own llms.txt and llms-full.txt or only switch SHOPLINE's version on and off.
Until we confirm it on your store, an AI system checking for a root llms.txt may not find our version. Ask us and we will check your Preferences screen with you. The For-AI page below installs normally and carries the same information.
The For-AI page
Files: for-ai.txt
這個頁面以平實文字說明您的業務做甚麼、如何聯絡您,是寫給一次讀完的AI系統,而非供人瀏覽。
- In the SHOPLINE admin, go to Online Store, then Page, and click Create a new page.
- Enter For AI as the page title and paste the content of for-ai.txt into the page editor. Page content must stay under 1 MB.
- In the right panel, click the edit icon under Search Engine Optimization and set the page URL to for-ai.
- Set Publish page to Publish, then click Save.
The identity block
Files: organization.jsonld
這是結構化數據,向搜尋引擎及AI系統清楚無誤地說明您是誰,作用就如名片之於人。
- In the SHOPLINE admin, go to Apps, then Custom Code. Install the app first if it is not there yet.
- Click Add code and give it a name such as Organization identity.
- Paste the contents of organization.jsonld, wrapped in a <script type="application/ld+json"> tag, into Code content. Leave the page trigger on your home page, or on every page template you want it on.
- Choose Top as the insert position, then click Add. The code takes effect at once. SHOPLINE describes Top as loading before the page content; its help page does not say the code lands inside the head tag, so check the live page source afterwards.
完成之後
點擊套件交付電郵中的驗證連結,我們便會重新掃描您的網站,然後寄上一頁總結,列明每個檔案是否已上線,以及有何改變。總結會於翌日早上前送達您的收件匣。
一直未有點擊連結?我們會在交付後第三十天進行同樣的檢查,並照樣寄上總結。安裝完成後不會失效,整個過程亦毋須開發人員候命。
如有本指南未涵蓋的事項,請參閱Shopline的官方說明文件:Managing robots.txt for Advanced SEO - SHOPLINE Help Center。