1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Want to change domain name

Discussion in 'HTML & Website Design' started by silent_1, May 23, 2015.

  1. #1
    Hi,

    I want to change the domain name of my blog. Can I redirect current blog to new domain?
     
    silent_1, May 23, 2015 IP
  2. COBOLdinosaur

    COBOLdinosaur Active Member

    Messages:
    515
    Likes Received:
    123
    Best Answers:
    11
    Trophy Points:
    95
    #2
    Not enough information. How is the site hosted? Do you have access to the name server? htaccess? Will you be using the same IP? Same host?

    So the the answer is probably; if not maybe; but it could also be depends.
     
    COBOLdinosaur, May 23, 2015 IP
  3. silent_1

    silent_1 Well-Known Member

    Messages:
    427
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    155
    #3
    COBOLdinosaur No, I dont have access to nameservers. Yes, I'll be using same IP and Host.
     
    silent_1, May 23, 2015 IP
  4. Mike In

    Mike In Active Member

    Messages:
    244
    Likes Received:
    5
    Best Answers:
    2
    Trophy Points:
    90
    #4
    Yes,
    Google it.
    You can also do it from your Domain CP (Control panel).
    Which provider?
     
    Mike In, May 24, 2015 IP
  5. LinnieMoneyMaker

    LinnieMoneyMaker Greenhorn

    Messages:
    102
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    16
    #5
    You must have officially enrolled the domain name that you will be changing your account to. In the event that you haven't effectively enlisted the domain name, space enrollments through InMotion Hosting are $14.99 per area every year.
     
    LinnieMoneyMaker, May 24, 2015 IP
  6. COBOLdinosaur

    COBOLdinosaur Active Member

    Messages:
    515
    Likes Received:
    123
    Best Answers:
    11
    Trophy Points:
    95
    #6
    Then you will need to do it less efficiently using the .htaccess in the root directory of the old site:

    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !newdomain.com$ [NC]
    RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301]
    Code (markup):
     
    COBOLdinosaur, May 24, 2015 IP
  7. silent_1

    silent_1 Well-Known Member

    Messages:
    427
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    155
    #7
    silent_1, May 24, 2015 IP
  8. COBOLdinosaur

    COBOLdinosaur Active Member

    Messages:
    515
    Likes Received:
    123
    Best Answers:
    11
    Trophy Points:
    95
    #8
    Oh, It is Wordpress? In that case I guess you can follow the advice. With WP crap I generally recommend throwing it away and writing a real site. I have absolutely no tolerance for that kind of junk, and very little respect for those who write most of them.
     
    COBOLdinosaur, May 24, 2015 IP
  9. silent_1

    silent_1 Well-Known Member

    Messages:
    427
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    155
    #9
    COBOLdinosaur I want to transfer blog from olddomain.com to newdomain.com.
     
    silent_1, May 24, 2015 IP
  10. Qualdorei

    Qualdorei Greenhorn

    Messages:
    45
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    23
    #10
    301 redirect is best for you
     
    Qualdorei, Jun 4, 2015 IP
  11. silent_1

    silent_1 Well-Known Member

    Messages:
    427
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    155
    #11
    Qualdorei I want to redirect every post to new domain. Is it possible?
     
    silent_1, Jun 4, 2015 IP
  12. hosting_seller

    hosting_seller Greenhorn

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #12
    If you have a wordpress site you will have to change the domain name in the options of the wordpress site first. That will allow wordpress to recognize that it's under a new domain name. The rewrite rules that COBOLDinosaur suggested will work for you to redirect anyone that goes to the old domain to the new domain, however it's crucial that wordpress is configured to use the new domain name. If you use a 301 Redirect that will be a permeant redirect meaning it will be cached in the browser and if you change the domain again it won't redirect to the new domain if someone has already visited the site. It will continue to redirect to the old domain that was previously specified by the 301 Redirect. Redirecting new posts only to a new domain with wordpress will be difficult. You may check to see if there is a plugin already developed for that type of function, wordpress does not offer that type of functionality by itself.
     
    hosting_seller, Jun 5, 2015 IP
  13. RezzRaygun

    RezzRaygun Member

    Messages:
    28
    Likes Received:
    7
    Best Answers:
    1
    Trophy Points:
    38
    #13
    Okay, so firstly you will need to point the new domain to you your current website. This is easy and i'm guessing that you have already figured this out. The problem you have is that clicking on an old link will not take the user to the relevant page. In this scenario, you can use a wildcard redirect which will match everything after the "domain.com/" so "olddomain.com/1/link/today" will automatically redirect to "newdomain.com/1/link/today"

    I notice people have asked what kind of hosting you have, which you need to mention for more detailed instructions or best methods. Assuming that you have general shared hosting, everything that you are asking can be achieved very easily through cpanal, also with some minor configuration necessary in your WP install backend.
     
    RezzRaygun, Jun 13, 2015 IP