Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
12-05-2011, 10:51 PM #1
- Join Date
- Dec 2011
- Thanked 0 Times in 0 Posts
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:
RewriteEngine on RewriteBase / RewriteCond (SOMETHING) RewriteRule (SOMETHING ELSE)
Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteRule view/(.*)/ view_upload.php?id=$1