Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:cache:lscwp:crawlerfile [2020/05/04 13:56] Shivam Saluja |
litespeed_wiki:cache:lscwp:crawlerfile [2020/11/14 15:32] Lisa Clarke Redirect to new Documentation Site |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Crawler Fails to Generate Sitemap File ===== | + | ~~REDIRECT>https://docs.litespeedtech.com/lscache/lscwp/ts-crawler/~~ |
- | **Please Note**: This wiki is valid for v2.9.x and below of the LiteSpeed Cache Plugin for WordPress. If you are using v3.0 or above, please see [[https://docs.litespeedtech.com/lscache/lscwp/overview/|the new documentation]]. | + | |
- | + | ||
- | If you generate a sitemap but notice that the crawler **Size** is still ''1'' or ''2'', you can try the following steps to debug the issue. | + | |
- | + | ||
- | {{:litespeed_wiki:cache:lscwp:troubleshooting:sitemap.png?800|}} | + | |
- | + | ||
- | - Verify that the sitemap URL works. | + | |
- | - Verify that the URLs within the sitemap are available for public visit. | + | |
- | - If the URLs are only private, that can cause a sitemap generation issue. | + | |
- | - Verify ''/wp-content/plugins/litespeed-cache/var/crawlermap*.data'' exists. | + | |
- | - If it doesn't exist, there may be a permission issue with one of the directories in the path. | + | |
- | - Verify that the [[litespeed_wiki:cache:lscwp:environment-report|environment]] ''home_url'' is identical to the home URL in Step 2. Keep in mind that ''<nowiki>http://example.com/test.html</nowiki>'' and ''<nowiki>https://example.com/test.html</nowiki>'' are different! | + | |
- | - Fix by changing **LiteSpeed Cache > Settings > General > Site Address (URL)** to match the value in the sitemap. | + | |
- | + |