Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

301 Redirect (Help A Noob)

5:12 pm on Jun 22, 2011 (gmt 0)

New User

5+ Year Member

joined:July 2, 2010
posts: 34
votes: 1

Here is the scenario:

I am very unhappy with how my site returns results via the internal search, so while I tweek this, I was trying to take some of my most popular KW searches and direct them to the appropriate landing page.

I have yet to be able to get it to work

Here is an example query of the term widget

I would just like to redirect this to

Yet it never works..

I tried :

Redirect 301 search.php?main_page=advanced_search_result&search_in_description=1&inc_subcat=1&keyword=widget&search.x=0&search.y=0 http://blablabla.com/widget-landing-page.html
6:56 pm on June 22, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
votes: 0

The Redirect directive cannot see appended query string data.

Use RewriteRule with a preceding RewriteCond looking at the QUERY_STRING request variable.

You cannot ever redirect POST requests.
8:12 pm on June 22, 2011 (gmt 0)

New User

5+ Year Member

joined:July 2, 2010
posts: 34
votes: 1

Thanks, off to research RewriteRule =)

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members