Forums

Redirecting Posts to New Domain (5 posts)

  1. prosperewebitor
    Member
    Posted 1 year ago #

    I'm interested in redirecting SOME things on my current website to a new domain but not others. I'd like to, for example, move olddomain.com/article/12345 to olddomainarchives.newdomain.com/article12345 but not redirect the main, olddomain.com URL.

    Is this possible?

    Thanks

  2. patyuen
    Member
    Posted 1 year ago #

    Put this in your .htaccess. Do not put in the root folder in the from url. Repeat for all folders or files.

    RedirectPermanent /oldcontent http://www.yoursite.com/newcontent

  3. prosperewebitor
    Member
    Posted 1 year ago #

    I'm confused....don't paste the files into the newdomain folder? What about the archives.newdomain.com subdomain?

    Thanks.

  4. patyuen
    Member
    Posted 1 year ago #

    You put it in .htaccess in the root of your source domain. When your viewers land there, they are forwarded. You don't need to do anything in the target domain. Hell, you can forward me the traffic if you want.

  5. prosperewebitor
    Member
    Posted 1 year ago #

    Hello,

    I still can't get things to work or quite understand. Where in .htaccess am I supposed to add the information?

    On my CPanel, I have http://www.prospere-magazine.com redirecting to http://www.delectablychic.com without a wildcard. This is working fine. However, I can't get http://www.prospere-magazine.com/category to redirect to prosperearchives.delectablychic.com/category (or any /_____ from http://www.prospere-magazine.com to get to /_____ at prosperearchives.delectablychic.com).

Topic Closed

This topic has been closed to new replies.

About this Topic