mod_rewrite with a directory domain
Hey guys. I accidentally overwrote my .htaccess yesterday and it sent my site for a loop.
Pretty much my site is www.trportfolio.net/upload/, but I have a domain www.truploader.com that I use instead.
I need www.truploader.com/view_upload.php?id=352342
turned into www.truploader.com/view/352342
I've been struggling to fix it all morning, but I can't seem to get it right. What I DEFINITELY remember prior to breaking the file was that the code was something like so:
This is what I have now but it just isn't working:
RewriteRule (SOMETHING ELSE)
RewriteRule view/(.*)/ view_upload.php?id=$1