Forum Moderators: phranque

Message Too Old, No Replies

Need help with htaccess

         

asher02

12:23 pm on Dec 5, 2006 (gmt 0)

10+ Year Member



Hi all,

Need some help here please.

I got some links from website that I have no control of that links to my pages. The pages contain query string for example
www.mysite/?sourch=keyword1 or for inner pages www.mysite/page.htm?sourch=keyword2

The problem is that Google has a cached version of these page and they are even index by Google despite the fact that they are similar to the base page.

How can I 301 redirect using htaccess these pages to the base URL?

(Assuming that only keyword1 and keyword2 are the problem as I use other query strings for other purpose"

jdMorgan

2:50 pm on Dec 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



See this thread [webmasterworld.com...] for previous discussion and a code example.

Jim