Hi, I've just wrote a blog. I'm having problems with my htaccess file in differentiating between /blog/article_title/ and /blog/rss/ Here's my htaccess file: RewriteRule ^blog/rss/$ /blog.php?method=rss RewriteRule ^blog/?([^/]+)?/?$ /blog.php?method=view&title=$1 But, it thinks "rss" is the title and passes it to $1 in the second rule. How can I get /blog/rss/ to go to /blog.php?method=rss and NOT /blog.php?method=view&title=rss? Many thanks in advance.
well looking at the rules you got the rule itself appears to be fine. what youmight need to do is add [L] at the end of the rule so it knows to stop processing the rules and goto that page, without the [L] it'd just keep going.
RewriteRule ^blog/rss/$ /blog.php?method=rss [L] RewriteRule ^blog/?([^/]+)?/?$ /blog.php?method=view&title=$1 [L] [L] stands for "last"
Still doesn't work. Thanks though. I need a rule that says "if it's not a back slash AND it's not 'rss', go to /?page=blog&title