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)

5+ Year Member

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 Jun 22, 2011 (gmt 0)

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

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 Jun 22, 2011 (gmt 0)

5+ Year Member

Thanks, off to research RewriteRule =)

Featured Threads

Hot Threads This Week

Hot Threads This Month