Hello. This has been driving me crazy all weekend.
I am using Apache2 and am trying to get a 301 Redirect of eight specific links to its new site. The new site is on its own server. The current url is, e.g.,
http://www.example.com/products/type/great-product, where the redirect target is sub.example.com/product/type/great-product
What do I need to do to successfully get these redirects to work? I don't want to use the htaccess file unless necessary, I hear it is better to do this in a separate vhost???
Thanks!
Here is a sample of the redirects I created:
Code:
Redirect 301 /products/type http://sub.example.com/products/
Redirect 301 /products/type/widgetsandaddons/2/ http://sub.example.com/products/2
Redirect 301 /products/type/widgetsandaddons/3/ http://sub.example.com/products/3
Redirect 301 /products/type/widgetsandaddons/4/ http://sub.example.com/products/4