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

Can you redirect every domain?

Discussion in 'Domain Names & Parking' started by pmdub, May 12, 2016.

  1. pmdub

    pmdub Newbie

    Joined:
    Oct 26, 2014
    Messages:
    12
    Likes Received:
    0
    Hello everyone,

    First of all i have to tell you that i have been reading methods here for some time now and i wanted to try out one for the very first time. (i have no experience at all)

    As i was setting up everything i needed, which includes register a domain name only for redirecting. Some things became unclear to me. I have searched on here and on the internet for the answer but could not find it myself. Anyway i will cut to the case.

    Does it matter where i register my domain name in order to be able to redirect it?
    So for example: At godaddy i saw a little clip which informs you about their automated redirect service which is integrated in their site/your account. So my question is: will there also be a similar service or another method to redirect the domain for other site such as "namecheap"?

    I realise this is really a noob question but i hope anyone can help me with this.

    Best regard.

    PmDub
     
  2. lotus13

    lotus13 Junior Member

    Joined:
    Apr 8, 2016
    Messages:
    119
    Likes Received:
    30
    You can redirect any domain by opening the index.php and removing anything and adding this only

    <?php
    header("Location:http:thesiteyourwanttoredirectto.c o m");
    ?>

    I have hostgator they also have the automatic redirect, it's just to make it more convenient but you don't need it, it's really easy to setup
     
    • Thanks Thanks x 1
  3. RuthSam

    RuthSam Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 19, 2010
    Messages:
    3,814
    Likes Received:
    979
    Gender:
    Male
    Home Page:
    As already mentioned. Any domain can be redirected either by DNS, htaccess or the index.php file.

    Just makes sure you do a 301 redirect if you want to get the link power.
     
    • Thanks Thanks x 1
  4. pmdub

    pmdub Newbie

    Joined:
    Oct 26, 2014
    Messages:
    12
    Likes Received:
    0
    Thanks for the answers guys I figured it out now!
    Have a nice day.