I am closing a yahoo store and redirecting the products to a new webstore at a different domain. Unfortunately Yahoo doesn’t offer any way to redirect the traffic to my new site. They also don’t offer .htaccess.
So I figured I would have to transfer the old site domain to my webhosting and create the redirects on my server. I want to create the redirects before transferring the domain, so when the transfer goes through I will not lose any traffic.
But I don’t know what code I need to put in the .htaccess file. I want to make sure I setup these redirects correctly because I won’t be able to test them until the domain is transferred.
So, how would I create a redirect if I want the following:
Redirect from: http://store.tri-statebeverage.com/ss-38-barb-ubend-with-38-barb-.html
To: http://bevcorpindustries.com/3-8-u-bend-with-3-8-barb-stem-ss.html
I will have about 600 redirects to setup.
I tried creating a redirect in my cpanel for another site, just to see the result in my htaccess, but it seems like a really complicated setup.
It gave me this:
RewriteCond %{HTTP_HOST} ^arbormanagementassociates\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.arbormanagementassociates\.com$
RewriteRule ^about\.html$ “http\:\/\/arbormanagementassociates\.com\/about\-us\.html” [R=301,L]
If I have to put a backslash before every dash in my urls, this will take me forever to setup.
I also don’t know if I need to include the www and http://
Hope this makes sense! Thanks so much!
Mindy