Solved

Changing Wordpress Main Domain

Posted on 2013-11-19
6
367 Views
Last Modified: 2013-12-04
We are changing the primary domain that is used to access our website which is a Wordpress site.

I have been reading about changing the domain, etc. but wanted to get an idea of any possible problems we may be running into.

Will the images in posts and pages be affected by a new root URL?  Do we just update the Domain in Settings >> General after the DNS has been updated for the previous domain?

Advice is appreciated.
0
Comment
Question by:axessJosh
6 Comments
 

Expert Comment

by:McSnoogins1
ID: 39660802
Hi axessjosh,
I have just recently moved my wordpress site to a different domain. I used the following guide to get through it and everything worked well.  The only stumble I came across was that for some reason my host changed alot of the permissions which stopped my media being displayed.  That was easiest to sort by connecting to the site with FTP using filezilla, highlighting the relevant files/folders, right clicking and in properties changing the permissions back to what they should be.

http://fizzle.co/sparkline/move-wordpress-to-another-domain?tt


If you are changing the actual domain name you will need to run search and replace which is mentioned towards the bottom of the article
0
 
LVL 25

Expert Comment

by:James Rodgers
ID: 39660843
take a look at wp migrate db, we  have used it on over 50 site moves and never had an issue.

if you are going to use a search and replace on your sql dump it better manage serialized data

http://wordpress.org/plugins/wp-migrate-db/

just zip up the files and ftp to the new host if necessary
0
 
LVL 2

Author Comment

by:axessJosh
ID: 39660845
Thanks, I'll take a look at the article.

We're not moving the host, but rather changing our church's main domain.

it was cornerstoneshiloh.org

and will now be:

onecornerstone.org as we are expanding into a multi-site church.

we've moved the site once which turned out to be a nightmare so I'm hoping just changing the domain is easier.
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 39661059
I'm hoping just changing the domain is easier.

All of the links in the current content will break :)

When you change the domain name to the site you have to also change it in the WordPress settings.  Unfortunately, that change doesn't get reflected in existing content and you will need to go through and update the wp_posts table manually.  It wouldn't be a bad idea to dump out the entire WordPress database to a text file and run a Find/Replace command in your favorite text editor per:

http://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_10258-How-To-Move-A-WordPress-Site.html

Any obviously you will need to set up 301's to handle inbound links that will be using the old domain name.  Expect your site's rank to take a significant albeit temporary hit anyway.
0
 
LVL 2

Author Comment

by:axessJosh
ID: 39663049
Would a better solution to not affect page rank be to just build a separate installation of Wordpress in a secondary folder on our host linking to the original DB, then setup the new site completely there starting with the new domain.  Then, just do a redirect on the other domain to the new site?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39663404
No real difference.  When you change URLs, you take a hit until Google figures things out.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Permalink issue in Wordpress archive 1 41
Disabling the Main Menu for a Certain Page 2 37
manage footer size 4 54
filter portfolio grid display on page load (wordpress) 7 17
Do you think that WordPress is just for blogs?  Think again!  WordPress is really a fantastic all around platform that you can use to develop websites on.  Integrated into its basic functionality is the ability to create pages using your choice of a…
WordPress can be pretty daunting, especially for a beginner, so I thought it might be a good idea to write an article to show how easy it is to get started in WordPress and to design a custom theme.  The first step is to check with your hosting comp…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
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…

778 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