vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Results 1 to 5 of 5

How can I re-direct old links to my new site

This is a discussion on How can I re-direct old links to my new site within the General Discussion forums, part of the vBulletin SEO Discussion category; Hi, Would someone be so kind to advise me please. I am moving my forum to a new domain name. ...

  1. #1
    Member
    Real Name
    Benedict
    Join Date
    Feb 2006
    Posts
    31

    How can I re-direct old links to my new site

    Hi,

    Would someone be so kind to advise me please.

    I am moving my forum to a new domain name. Is there a way I can re-direct an old link to the new domain - ideally with the same link all that has changed is the domain name.

    E.g

    When someone clicks on a google link: www.myolddomain.com/forums/123-some-thread-title

    The old domain re-directs the surfer/spider to

    www.myNEWdomain.com/forums/123-some-thread-title



    Many thanks

    Benedict

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,550

    Re: How can I re-direct old links to my new site

    Hello Benedict,

    sure, assuming that both domains are pointing to the same host, you can add the following in forums/.htaccess right after "RewriteEngine on" line:
    RewriteCond %{HTTP_HOST} !www.mynewdomain.com
    RewriteRule (.*) http://www.mynewdomain.com/forums/$1 [L,R=301]
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


  3. #3
    Member
    Real Name
    Benedict
    Join Date
    Feb 2006
    Posts
    31

    Re: How can I re-direct old links to my new site

    Thank you for the quick response. However the new domain will be hosted on a different server/host :(

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,550

    Re: How can I re-direct old links to my new site

    So, you should create .htaccess file in forums folder at your old host (old domain):
    RewriteEngine on
    RewriteRule (.*) http://www.mynewdomain.com/forums/$1 [L,R=301]
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


  5. #5
    Member
    Real Name
    Benedict
    Join Date
    Feb 2006
    Posts
    31

    Re: How can I re-direct old links to my new site

    That's super thanks

Similar Threads

  1. How many links does a site need?
    By Ravi in forum Off-Topic & Chit Chat
    Replies: 1
    Last Post: 06-15-2006, 02:55 AM
  2. Mod rewrite messing up non forum related site links
    By system0 in forum Troubleshooting
    Replies: 2
    Last Post: 04-30-2006, 09:21 PM
  3. Exchange links new site
    By infordig in forum General Discussion
    Replies: 2
    Last Post: 02-23-2006, 05:11 PM