Hi
1 - problem in
creating the URLs comes from the fact you assigned to add "index.html" as an index file. Therefore this index file is added to all URL that ends like a folder, ie ends with a / like the feed links.
Any reason to have that? this is something that comes from a long time ago and is just a waste of URL length. It will certainly be removed in the future from sh404SEF.
2 - Even with the correct URL created (/feed/rss/) the page still shows as html instead of xml. That's a more common problem, caused by a bug some system plugins. This time it's caused by that common bug in the Advanced Module manager system plugin.
There are 2 solutions: either disable the Advanced module manager, but I assume this wll have consequences, or apply the following fix to /plugins/system/advancedmodules/advancedmodules.php:
At line 34, comment out the lines as follow:
public function __construct(&$subject, $config)
{
parent::__construct($subject, $config);
/*if (!$this->getHelper())
{
return;
}
if (!JFactory::getApplication()->isSite())
{
return;
}
$this->_helper->loadModuleHelper();
$this->_helper->registerEvents();*/
}
The insert this after the same metho, so that it looks like:
public function __construct(&$subject, $config)
{
parent::__construct($subject, $config);
/*if (!$this->getHelper())
{
return;
}
if (!JFactory::getApplication()->isSite())
{
return;
}
$this->_helper->loadModuleHelper();
$this->_helper->registerEvents();*/
}
public function onAfterRoute()
{
if (!$this->getHelper())
{
return;
}
if (!JFactory::getApplication()->isSite())
{
return;
}
$this->_helper->loadModuleHelper();
$this->_helper->registerEvents();
}
Of course, if you can wait a bit, I'd suggest to report the issue to NoNumber, Peter is very quick at making new versions!
The short story is that he's calling JFactory::getDocument() before the onAfterRoute event, thus forcing the document type to html. This is a documented problem (
here and
there for instance).
Rgds