I have a new website and I would like to redirect all the old pages to my new website's new pages.
My old website is built using php. My home page is domainname.com/index.php. I do not have any problem redirecting my old website home page to my new website home page.
My problem is:
My old website pages are called into the old site by (domainname.com/index.php?p=seo friendly page name).
an example redirect would be:
redirect301 /index.php?p=breakfast http://www.domainname.com/content/category/51/74/139/
this redirect only brings up my home page of www.domainname.com however in the address bar the address displayed is http://www.domainname.com/?p=breakfast.
I need it to bring up the actual page (not the home page) at http://www.domainname.com/content/category/51/74/139/ and that address be displayed in the address bar.
I have 96 pages that are called into the old website using the (domainname.com/index.php?p= ) call in system.
The (index.php?p=) system is really giving me a problem on my redirects. Any help would be greatly appreciated.
Thanks in advance.