| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
redirect a url with parameters
| 9:57 pm on Nov 19, 2009 (gmt 0)|
Hi, hoping someone can help me with this.
Google recently indexed my home page a second time, but this time with a couple of parameters tacked on -- as www.my-domain.com/?s=
I'd like to redirect that back to www.my-domain.com/
I've tried many of the redirect suggestions on the forum, but nothing seems to work... I suspect I'm not coding the parameters in a way that can be understood.
Any ideas? I'm on Apache, and mod_rewrite is on.
| 12:49 am on Nov 20, 2009 (gmt 0)|
It doesn't work because there is an error in your code.
I can't tell you what that error is, because you didn't post any code.
| 10:17 pm on Nov 20, 2009 (gmt 0)|
I didn't post any because I've tried a few different pieces of code, and none of them worked. Thought I'd start from scratch if anyone had any ideas.
| 10:50 pm on Nov 20, 2009 (gmt 0)|
Please post your best-effort code as a basis for discussion.
No code, nothing to discuss, and no starting point to work from. A review of our Forum Charter may prove helpful.
Plenty of examples in previous threads, too. Search WebmasterWorld for "RewriteRule clear query" if you prefer.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2013 all rights reserved