HTAccess: Re-write params with simple tags


/ Published in: Apache
Save to your folder(s)



Copy this code and paste it in your HTML
  1. RewriteEngine On
  2.  
  3. RewriteRule ^bid.wg$ index.php?pg=postbid&%{QUERY_STRING} [L]
  4. RewriteRule ^([0-9a-zA-Z]+).wg$ index.php?pg=$1&%{QUERY_STRING} [L]

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.