Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Changing Wordpress Main Domain

Posted on 2013-11-19
6
Medium Priority
?
378 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
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

876 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