Green

Sunday, April 7, 2013

Need Help With .htaccess Redirect Issue

Hi,

I am struggling with an url/parameter issue.

The main index.php page of my website was previously used for e.g.
www.domain.com/index.php?site=3&word=21and
www.domain.com/index.php?site=3But now I have changed those things, but in Google the URLs are still listed. So what I need is to redirect all the type of pages above to the main page/domain www.domain.com .
This is an ad that I inserted!
I believe .htaccess redirect is the right thing to use then, is that correct?

What type of code do I need to redirect those to main domain. Just the url's with parameters after index.php? etc. not other directories e.g. www.domain.com/sunshine/

Would be great if someone could help me with this. I believe it is actually a quick fix, but I have failed to get the code correct.

Thanks.


View the original article here

0 comments:

Post a Comment