i searched and searched for an answer, but could not find it...thus the new thread...
I need to redirect a directory, and all sub-directories etc.. underneath that directory to a new domain. However, the redirect should land users on the domain home page, and not to the new directory on the new domain. (since the directory will not exist on the new domain) So, all the various pages getting redirected should land on the new domain home page. I attempted a redirect as follows:
Redirect 301 /directory/ [
newdomain.com...]
My problem is that when redirected to the new domain name, the user lands on [
newdomain.com...] when I want the user to land on [
newdomain.com...]
Or, if the user is redirected from [
olddomain.com...] they land on [
newdomain.com...] when I want the user to land on [
newdomain.com...]
What am I doing wrong? I'm sure it is something simple, I'm just not very skilled at these redirects?