I am still pretty lost with mod_rewrite since it's incredibly a new comer to me. I am trying to setup a couple of rules for better web addresses. However, after experimenting by using it for some time it seems it only ever uses the very first rule listed. For instance, basically visit "/frontpage/some-publish-slug" it really works perfectly but when time passes to "/page/some-page-slug" I recieve a 500 Internal Server Error. Does anybody have idea an amount be leading to this?

my .htaccess file is within full below:

<IfModule mod_rewrite.c>

    Options +FollowSymLinks

    RewriteEngine on

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule ^frontpage/([A-Za-z0-9-]+)*$ /frontpage/?slug=$1 [NE,L]
    RewriteRule ^page/([A-Za-z0-9-]+)*$ /page/?slug=$1 [NE,L]


Thank you for any help!

What goes on should you take away the * prior to the $-sign? I never rely on them and my rules are virtually just like yours.