@percy_bauch
To upload a custom sitemap.xml file in Shopify, follow these steps:
- Login to your Shopify admin panel.
- From your Shopify admin, go to Online Store > Preferences.
- Scroll down to the Search engine listing preview section.
- Under the Sitemap section, click on the 'See the XML sitemap' link. This will open your current sitemap in a new tab.
- Copy the URL of the sitemap page that opens up.
- Open a text editor (like Notepad or Sublime Text) and create a new XML file for your custom sitemap. Make sure the file follows the correct XML formatting.
- Add your custom URLs to the XML file, using the tag structure . Replace the ... with the URL of each page.
- Save the XML file with the name "sitemap.xml".
- Once saved, open your preferred FTP (File Transfer Protocol) program or use the file manager in your hosting control panel.
- Upload the custom sitemap.xml file to your Shopify root directory, typically named "public_html" or "www".
- After uploading, return to the Shopify admin panel and go back to Online Store > Preferences > Sitemap.
- Click on the 'Submit sitemap' button.
- You will see a pop-up window where you can enter the URL of your custom sitemap. Paste the URL you copied in step 5.
- Click the 'Submit' button to submit your custom sitemap to Shopify.
Note: Shopify also generates an automatic sitemap.xml file that includes all your published products, collections, and pages. While you can upload a custom sitemap file, it won't replace the default sitemap generated by Shopify.