SEO: 301 for a page which has no mirrow path?
- by Alex
Hello,
I just did a 301 and the domain and some pages which have a mirror file path are fine.
But I have one directory which is not going to be part of the new site and I don't know how to redirect the old files that were there.
I need something like this:
oldDomain/oldDir/file.php
and I need to make it redirect to
newDomain/differentDir/file.php
Is that possible? What is the 301 redirect rule for that?
update
I just added this rule as suggested by @Itai and it didn't work
redirectMatch permanent ^/outdoors/trees/tanoak.php$ http://www.comehike.com/outdoors/trees/129/Tanoak
any idea why?