J!Extensions Store™
Faq Can JSitemap work with sh404sef?

Can JSitemap work with sh404sef?

Created on:Monday, 30 June 2014 16:52

Yes JSitemap can work fine with sh404sef.

The generation and routing of links is not managed directly by JSitemap, but is demanded to the SEF extension installed and enabled on your site, either native Joomla SEF or a third party solution such as sh404sef.

If you experiment issues about XML documents such as sitemaps being rendered as HTML, ensure that the setting '301 redirects from non-SEF to SEF' in the configuration of sh404sef is not enabled. If you still experiment issues after changing this setting you can also change the sh404sef configuration by component and choose 'Leave as non-sef' or 'Use Joomla router' for JSitemap.

Notice that if you activated 'Leave as non-sef' and you have a menu item poiting to the HTML sitemap on the site, you need to create an SEF alias in sh404sef for this link, otherwise the link for this menu item to the HTML sitemap will stay in the raw format.

This ensure that common issues due to SEF routing will be avoided, these issues could prevent some search engines such as Bing that doesn't follow 301 HTTP header to fetch your XML sitemap, and Google could raise a notice about the XML sitemap not valid but appearing as an HTML document.