Custom Category Links
Posted: Thu Mar 08, 2007 12:12 am
Short version: I want to put a custom link on my web site, such as http://izzy.homeip.net/nagios that points to a Serendipity category such as index.php?/categories/8-Nagios, in the same way that /categories/8-Nagios does - i.e. when you type that link, you get the category page, even though the address remains /nagios. Is this possible, and if so, how?
Long version: I have serendipity set to use mod_rewrite to generate pretty URL's for categories, posts, etc. This is working fine. In looking over the rewrite rules generated in the .htacces file, my first thought was that I could simply add another that re-wrote nagios to index.php?/categories/8-Nagios. No luck though. The rule was matched, and according to the logs the url was re-writen properly, but I wound up at the index page rather than the category page. At this point I have checked everything under the sun, and as far as I can determine the rewrite rule is correct. So is there a different approach I should be taking here, or am i just missing something? Thanks.
Israel
Long version: I have serendipity set to use mod_rewrite to generate pretty URL's for categories, posts, etc. This is working fine. In looking over the rewrite rules generated in the .htacces file, my first thought was that I could simply add another that re-wrote nagios to index.php?/categories/8-Nagios. No luck though. The rule was matched, and according to the logs the url was re-writen properly, but I wound up at the index page rather than the category page. At this point I have checked everything under the sun, and as far as I can determine the rewrite rule is correct. So is there a different approach I should be taking here, or am i just missing something? Thanks.
Israel