1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Web Redirection

Discussion in 'Web Design' started by S34RCH1, Sep 9, 2016.

  1. S34RCH1

    S34RCH1 Newbie

    Joined:
    Sep 9, 2016
    Messages:
    7
    Likes Received:
    0
    I would like to know how to redirect some domains to a single domain
    eX: i have domainname.com, dnma.com and redfert.com and i want that once some one visits one of this will beredirected to werewe.com
     
  2. Rafel

    Rafel Newbie

    Joined:
    Aug 12, 2016
    Messages:
    4
    Likes Received:
    0
    Gender:
    Male
    redirection uses javascript:)
     
  3. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    12,492
    Likes Received:
    11,190
    Occupation:
    CHEAP
    Location:
    DATASETS
    Home Page:
    Create a .htaccess file on a directory and point all those into that directory root. Then add this line.

    RewriteRule .* http://example.com/ [L,R=301,NC]
     
  4. Aty

    Aty Jr. VIP Jr. VIP

    Joined:
    Jan 27, 2011
    Messages:
    5,990
    Likes Received:
    4,083
    Occupation:
    SEO (Senior Erection Officer)
    Location:
    your 6 o'clock
    Home Page: