ReewriteEngine On
RewriteCond %{QUERY_STRING} ^id=606$
RewriteRule ^/index.php$ http://domain.com [R,L]

Not tested but should work.

Igor

On Fri, May 14, 2010 at 11:08 AM, David Banning <da...@skytracker.ca> wrote:

> I am wondering how I might do a .htaccess redirect if I want to redirect
>
> domain.com/index.php?id=606
>
> to domain.com
>
> I have been pouring over many apache how-to's and have not been able to
> find an answer as yet.
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>  "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to