I want all my pages to work if the user added a trailing slash in the end or not
the following line works
RewriteRule ^index/page/([0-9]+)/?$ /cmstut/index.php?page=$1 [QSA,L]
but the the following line cause an internal server error, It's the last line That's the line that should rewrite all other pages which have no attributes like the contact page, about us page or index page
RewriteRule ^(.+[^/])/?$ /cmstut/$1.php [QSA,L]