First off, sorry for the noobiness of this, i've not really looked into .htaccess coding, but just know the basic re-writing.

my code:
RewriteEngine on
RewriteRule ^([a-zA-Z]+)$ index.php?action=$1
RewriteRule ^([a-zA-Z]+)/([a-zA-Z0-9]+)$ index.php?action=$1&md5=$2
As you can see i'm using an Action based paging system, but at one point i'm getting a md5 as well, their is essentially 2 pages for this.

1: Upload (Default)
2: View (One that requires the MD5)

If i remove the first line, the first (Default) page doesn't want to work, but i the md5 is "example5" and i manually insert "upload" over "View" in the action rewrite, then it doesn't display the entire page oddly.

eg url for above:
"view/example5" = proper url
"upload/example5" = broken url

How would i prefer the md5 query from continuing and destroying the page?