...

View Full Version : .php?url=url.com



potato123
08-01-2011, 02:13 PM
How can i make the following work the way I want it?

domain.com/test.php?url=google.com

should show as domain.com/google.com

ive tried tons of rewrites but none have worked so far

poyzn
08-02-2011, 10:51 AM
How can i make the following work the way I want it?

domain.com/test.php?url=google.com

should show as domain.com/google.com

ive tried tons of rewrites but none have worked so far



RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/google\.com <- put here your regexp rule
RewriteRule (.+) test.php?url=$1 [L,QSA]



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum