faq:troubleshooting:troubleshooting-sitemap

How to troubleshoot sitemap issue?

The sitemap file is available on your server and to view it in the browser, follow the link:

http://[your_site_URL]/sitemap.xml 1)

If the URL returns 404 Not found error, this might happen due to one of the reasons:

  • Your site is very populated and consists of multiple custom pages.

In this case, the sitemap generation process may take up to several days. So the sitemap file doesn't exist yet. All you need to do is wait a bit and check sitemap from time to time.

  • Cron Jobs is misconfigured or doesn't run on your server.

Check the Cron configuration guide or contact support team for assistance.

  • Make sure the sitemap.xml file is available on the server in the ow_usersfiles/plugins/base/sitemap/ directory.
  • Check if 777 permissions were set recursively to the ow_userfiles/ directory.
  • Check if the following code is present in the .htaccess file:
RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]

Here is the default content of the .htaccess file:

Options +FollowSymLinks
RewriteEngine On

AddEncoding gzip .gz
AddEncoding gzip .gzip
<FilesMatch "\.(js.gz|js.gzip)$">
  ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css.gz|css.gzip)$">
  ForceType text/css
</FilesMatch>


RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
RewriteCond %{REQUEST_URI} !/e500\.php
RewriteCond %{REQUEST_URI} !/captcha\.php
#RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]
RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
1)
replace [your_site_URL] with your site name.
faq/troubleshooting/troubleshooting-sitemap.txt · Last modified: 2017/06/07 09:11 by 127.0.0.1