Hi. I'm using Wordpress and need some direction. P) In order for this script that I have to work, it must be executed within a "page" that I created. (In WP, I create a page named "the-page"). And within this page, a few things have to happen to get the script going. For a search to be executed, it must be structured like: http://www.somesite.com/the-page/?k=search terms Code (markup): After the query for "search terms" is performed, the results are structured as a numerical value. The results for "search query" will appear on the page: http://www.somesite.com/the-page/?=search terms Code (markup): Note: the value of 123465 below is dynamic. However, each item returned from the search links to the following url: http://www.somesite.com/?pid=123456 Code (markup): Instead, I need those results to link to: http://www.somesite.com/the-page/?pid=123456 Code (markup): In addition, if someone were to do a: http://www.somesite.com/?k=search term Code (markup): I need to redirect that request to: http://www.somesite.com/the-page/?k=search term Code (markup): And just to make sure I covered everything, I need: http://www.somesite.com/?pid=123456 Code (markup): To be redirected and executed as: http://www.somesite.com/the-page/?pid=123456 Code (markup): Thanks for the help. I'm really tearing out my hair on this one ... and I don't have much left!