Forum Moderators: phranque

Message Too Old, No Replies

rewrite link 301

310 redirect

         

fairguy

5:21 am on Feb 26, 2007 (gmt 0)

10+ Year Member



I just found that somone out there is trying to get rid of their competition, me, and seems like they have added query "/?link1page=330"

How do I use htaccess to redirect this permanetly?

It currently shows: "mysite.com/?link1page=330" and I want to redirect this to "mysite.com"

Thanks
Martin

coopster

10:51 pm on Feb 26, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



mod_alias is designed to handle simple URL manipulation tasks. For more complicated tasks such as manipulating the query string, use the tools provided by mod_rewrite [httpd.apache.org]. There is a good starter resource in the Apache Forum Library [webmasterworld.com] titled Changing Dynamic URLs to Static URLs [webmasterworld.com]