MetroWeb
06-11-2009, 05:37 PM
I have searched the forums and can't find my specific problem. Surely others have had this situation.
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. My actual website content information is all located in a directory called "pages" and all the file names there end in .php (like breakfast.php)
My problem is:
My old website pages are called into the old site by domainname.com/index.php?p=breakfast (se friendly page name).
an example redirect that I tried but doesn't work is:
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.
I hope I have been clear on my descriptions.
Thanks in advance.
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. My actual website content information is all located in a directory called "pages" and all the file names there end in .php (like breakfast.php)
My problem is:
My old website pages are called into the old site by domainname.com/index.php?p=breakfast (se friendly page name).
an example redirect that I tried but doesn't work is:
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.
I hope I have been clear on my descriptions.
Thanks in advance.