 Ok
The only line you need to change is this one;
PHP Code:
$pageArray = array('/old.php' => '/new.php');
and you need to add more of them, one for each URI to redirect, like so:
The old URL is first
PHP Code:
$pageArray = array('/asdf.php' => '/zxcv.php');
$pageArray = array('/folder/1234.php' => '/newfolder/1890.php');
$pageArray = array('/old3.php' => '/new3.php');
$pageArray = array('/older.php' => '/newer.php');
If they are in folders, that must be added too as in the second example.
the URLs is going to be the address without the protocol (http://) and without the hostname (www.domain.tld).
And the .htaccess line of code is exactly as it is in the post. Leave everything else alone because that's written by Magneto.
In the 404.php page remove the code between the </head> and <body> (that's just my testing code)
Then in the body section you can put a link to your site map, a search box or whatever suits.
Does that help any?
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
|