On 13.05.10 21:08, David Banning 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.
I think that
RedirectMatch /i
On 5/13/10 8:08 PM, David Banning 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
Same domain (as I assume because domain.com and domain.com are the same).
First, you'll need to set up the rewrite basics.
RewriteEngin
On Thu, May 13, 2010 at 9:42 PM, Igor Cicimov wrote:
> ReewriteEngine On
> RewriteCond %{QUERY_STRING} ^id=606$
> RewriteRule ^/index.php$ http://domain.com [R,L]
Need to drop the leading slash in regex
--
Eric Covener
cove...@gmail.com
-
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 wrote:
> I am wondering how I might do a .htaccess redirect if I want to redirect
>
> domain.com/index.php?id
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 offici