There is a bug in the .htaccess file.
When the URL-friendly category name has an '_' as in Arts_Sciences, the htaccess file can not parse the URL correctly and you end up with a 404.
To fix this problem, the lines below:
RewriteRule ^published/([a-zA-Z0-9-]+)/category/([a-zA-Z0-9-]+)/?$ index.php?part=$1&category=$2
RewriteRule ^upcoming/([a-zA-Z0-9-]+)/category/([a-zA-Z0-9-]+)/?$ upcoming.php?part=upcoming&order=$1&category=$2
...
RewriteRule ^rss/category/([a-zA-Z0-9-]+)/?$ rss.php?category=$1
must be changed to:
RewriteRule ^published/([a-zA-Z0-9-]+)/category/([a-zA-Z0-9_-]+)/?$ index.php?part=$1&category=$2
RewriteRule ^upcoming/([a-zA-Z0-9-]+)/category/([a-zA-Z0-9_-]+)/?$ upcoming.php?part=upcoming&order=$1&category=$2
...
RewriteRule ^rss/category/([a-zA-Z0-9_-]+)/?$ rss.php?category=$1
(I have added the '_' symbol to the regular expression match for category.)



Reply With Quote




