When generating a Top Categories list with mod_rewrite/htaccess enabled. it doesn't appear to correctly swap out the spaces with underscores so the redirects work.
It works when generating categories in the usual way... but this is specifically the toplists categories.
All I can say is that as you've described it this problem does not exist. Made a quick toplist:
<!-- BEGIN TOPLIST 5 --> <CONFIG>categories,id,5,ascending,,,,0,0,0,0</CONFIG> <a href="index.php?action=displaycat&catid={CATID}">{CATNAME}</a> <!-- END TOPLIST 5 -->
Turned on cat name rewriting. Works perfectly, a category name with a space in shows an underscore as you can see in the status bar on the attached screenshot.
Comments on Top Categories and mod_rewrite categorie
Beginner
Usergroup: Customer
Joined: Mar 28, 2005
Total Topics: 4
Total Comments: 8
When generating a Top Categories list with mod_rewrite/htaccess enabled. it doesn't appear to correctly swap out the spaces with underscores so the redirects work.
It works when generating categories in the usual way... but this is specifically the toplists categories.
arn
Beginner
Usergroup: Customer
Joined: Mar 28, 2005
Total Topics: 4
Total Comments: 8
hmm... could really use a quick fix for this.
arn
Beginner
Usergroup: Customer
Joined: Mar 28, 2005
Total Topics: 4
Total Comments: 8
er.... nevermind... here's the fix
<? print ereg_replace(" ","_","{CATNAME}"); ?>
in place of CatName in your categories in top list
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
All I can say is that as you've described it this problem does not exist. Made a quick toplist:
<!-- BEGIN TOPLIST 5 -->
<CONFIG>categories,id,5,ascending,,,,0,0,0,0</CONFIG>
<a href="index.php?action=displaycat&catid={CATID}">{CATNAME}</a>
<!-- END TOPLIST 5 -->
Turned on cat name rewriting. Works perfectly, a category name with a space in shows an underscore as you can see in the status bar on the attached screenshot.
Attached Files: