My config settings are:
Code: Select all
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';
First off, '.html' isn't a valid string the URL field--so the URL field is no help. Second, mod_rewrite rules in .htaccess (RewriteRules rather than 301s) redirect just fine, but the links generated by {cms_selflink href="foo"} smarty tags point to the wrong (.../foo.html) URLs. For example:
Code: Select all
RewriteRule ^bar.html$ http://www.foo.com/bar/ [NC,R=301,L]
You can see the site at weathergard(dot)org. The pages I'm referring to are the middle six links in the main menu, plus the 'News & Blog' link in the second column of the footer.
Thanks in advance.
Final note: I'm aware that there was a topic posted about this, but it was marked solved for no reason--no solution was posted, and there were no replies. I can't find any other posts on this topic. See: http://forum.cmsmadesimple.org/viewtopi ... =6&t=54571