SEO: 301 for a page which has no mirrow path?
Posted
by
Alex
on Pro Webmasters
See other posts from Pro Webmasters
or by Alex
Published on 2011-03-03T15:15:37Z
Indexed on
2011/03/03
23:33 UTC
Read the original article
Hit count: 317
seo
|301-redirect
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?
© Pro Webmasters or respective owner