SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member WAHParents's Avatar
    Join Date
    Feb 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Moving a Yahoo Store - Redirects

    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/s...-38-barb-.html
    To: http://bevcorpindustries.com/3-8-u-b...b-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

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,653
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    Until you decide, you can redirect the "secondary" domains to your primary domain. Then, your idea of using .org is fine and .net can be a personal website (terminating their redirections).

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  3. #3
    SitePoint Member WAHParents's Avatar
    Join Date
    Feb 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am a little confused with the response. I was looking for the correct way to setup redirects in my .htacess file.

    Thanks!

    Mindy

  4. #4
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,653
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    OMG! I was wondering where that response (to another thread, sorry!) went!

    The quick answer is to recommend that you review the mod_rewrite tutorial linked in my signature. It includes everything from creating a test server (the mod_rewrite part), creating good mod_rewrite code and provides a number of coding examples for you to build from.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •