In my web.config file I want to be able to accomplish both redirects below:
Redirect the root/domain: oldsite.org to newsite.org/this-is-thenewsite
AND page wildcard redirects: oldsite.org/any-all-oldpage to newsite.org/any-all-oldpage
What would be the proper way to accomplish both?
I currently redirect all old traffic to the new page And I know I can use {R0} or {R1} to wildcard the pages.
I just dont know the best way to do both TIA!
You can redirect one domain to another with a rule similar to this:
Source: Web.config redirects with rewrite rules - https, www, and more