I am having a single script "index.php" which reacts differently as per querystrings. Lets say: If some one browse my site with this url:
http://www.mysite.com/ or http://www.mysite.com/index.php It opens the home page of website.
When someone put url like this: http://www.mysite.com/?category=sports It open different section of the same page. (It usually show a list of items , which matched with this category instead of actual home page)
So the same script index.php reacts differnetly depend upon the query string passed to it.
Now the problem is, I want to separate this fe=uncinality of this script to a new script because the index.php is become too heavy to load and take lot of time to even show the home page.
I have already lot of traffic on my site and I dont want to loose any single incoming link to my site. My site is already crawled by google.
I want to put such re-direction on the script so that it will be a SEO friendly. I know if it will be the case of shifting script, I can put 301 redirect and do the job. But the problem is I also want the index.php will react as it is and will show home page always. So I made two scripts. One is index.php itself and other one I created to show the list of categories like this: http://www.mysite.com/browse/?category=sports.
So I want to redirect the part of the index script; this url: http://www.mysite.com/?category=sports to http://www.mysite.com/browse/?category=sports
How can I do it, so that it will be SEO friendly and wont effect index.php anyway.