Solved

Change Wordpress Domain Name

Posted on 2011-09-07
6
220 Views
Last Modified: 2012-05-12
Hi,  I need some help with changing domain names for our wordpress website.

I have built the site for a friend which is live on my server eg http://testdomain.com. He has a website built in flash  called eg http://newdomain.com (only has one page/URL, not keeping anything of that website, so no need for 301's)  I know want to change the domain of the site i just built, to my friends domain name (http://newdomain.com).   The website is staying on our server, and keeping the same IP address as http://testdomain.com.  I know how to apply the IP address to the new domain name in GODaddy, putting it as the A record, and have the NS records,  so on that side i know how to do things.

 What i need help with, is how do i change it on wordpress ?  
0
Comment
Question by:jonathan1978
  • 3
  • 3
6 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36500658
Hi Jonathan,

Right before you activate the new domain name and repoint the A record, etc, open the WordPress Dashboard, go to Settings | General and change the two URLs you see there to newdomain.com and Save Changes.  

That should be all you need to do.
0
 

Author Comment

by:jonathan1978
ID: 36500664
Is that all ?  My friend was saying i had to download the database, and do a file replace oldomain with new domain.      I was thinking it had to be easier than that.
0
 

Author Comment

by:jonathan1978
ID: 36500676
Do you happen to know about HostGators control panel ?   I have 5 (the max on my plan) domains/websites on my server, one of which is the site i want to change the domain name for. I'm looking at the control panel, but don'e see any option to change domain name ?
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 36500692
>> Is that all ?  My friend was saying i had to download the database, and do a file replace oldomain with new
>> domain.      I was thinking it had to be easier than that.

You don't need to download the database in this instance since you will have access to the Dashboard prior to the change.  Most of the time we get this question after olddomain.com is no longer working and a different approach is in order.  

You might have to download the Search and Replace plugin if you notice missing images from posts after the changeover.  But assuming your plugins all function and your theme was written well (not using full URLs but root-relative paths and the site_url() function), it should be okay.  

You can certainly download the database and convert anything you find in there and re-upload it, but that's overkill.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36500693
I know nothing about HostGator...different question for a different set of Zones here :)
0
 

Author Comment

by:jonathan1978
ID: 36500709
ok, will post that in another zone.   Thank you with your help :)
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
What's this? As a volunteer Page Editor for Experts-Exchange.com, I have noticed that many authors also have blogs, and pull articles from their blogs to post at Experts-Exchange. I appreciate each author sharing their blog content with our site …
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question