redirect get URL?
Posted
by Wolfr
on Server Fault
See other posts from Server Fault
or by Wolfr
Published on 2010-02-03T21:04:27Z
Indexed on
2010/03/12
11:08 UTC
Read the original article
Hit count: 228
I'm almost done writing the .htaccess file to redirect some URLs to a new domain.
One final thing: I have URLs with this structure:
http://www.domain.be/?s=searchterm
How do I capture them?
RewriteRule ^\?s=(.*)$ http://newsubdomain.domain.be/?s=$1 [NC,L]
Any ideas?
© Server Fault or respective owner