<![CDATA[ [solved] SEO Strict URLs - My Forums]]> https://forums.modx.com/thread/?thread=45478 <![CDATA[Re: SEO Strict URLs]]> https://forums.modx.com/thread/45478/solved-seo-strict-urls#dis-post-263203
THANKS !!! grin grin]]>
norlin Dec 14, 2009, 10:38 AM https://forums.modx.com/thread/45478/solved-seo-strict-urls#dis-post-263203
<![CDATA[Re: SEO Strict URLs]]> https://forums.modx.com/thread/45478/solved-seo-strict-urls#dis-post-263202
1. Disable/Uninstall the SEO Strict URLs plugin. YAMS has its own in-built in SEO strict functionality which conflicts with that plugin.
2. Set Modules>YAMS>Other Params>URL Formatting>Use Mime-type dependent suffixes? = Yes.
3. Clear your cache.

That should be it. The default MIME => suffix mapping is as follows:
  $this->itsMimeSuffixMap = array(
    'application/xhtml+xml' => '.xhtml'
    , 'application/javascript' => '.js'
    , 'text/javascript' => '.js'
    , 'application/rss+xml' => '.rss'
    , 'application/xml' => '.xml'
    , 'text/xml' => '.xml'
    , 'text/css' => '.css'
    , 'text/html' => '.html'
    , 'text/plain' => '.txt'
    );

If you want to change it, you will have to edit the assets/modules/yams/yams.config.inc.php file directly.]]>
PaulSuckling Dec 14, 2009, 09:04 AM https://forums.modx.com/thread/45478/solved-seo-strict-urls#dis-post-263202
<![CDATA[ [solved] SEO Strict URLs]]> https://forums.modx.com/thread/45478/solved-seo-strict-urls#dis-post-263201
I need to make the SEO Strict URLs plugin work on my site so i can output a xml file with the .xml suffix.

At the moment i use .html as basic suffix in friendly urls, so ALL files has .html behind them - also my xml files. With the Seo strict plugin i can tell it to exclude suffix on a specific page using a tv, and then i can name the page alias something.xml and it will output with out .html

plugin: http://modxcms.com/extras/package/395

I think that yams is conflicting with the plugin, i can’t get it to work at all!

If there is another way to achieve my goal with out the plugin im listening laugh

Thanks!!!
regards norlins]]>
norlin Dec 14, 2009, 08:28 AM https://forums.modx.com/thread/45478/solved-seo-strict-urls#dis-post-263201