Solved

Changing Wordpress Main Domain

Posted on 2013-11-19
6
375 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Who says nothing in life is free? WordPress.com is a freebie. WordPress.org's downloadable publishing platform is free. Heck, even WordPressMU is free. WordPress is an open source project, which means it can be used on any personal or commerc…
In Part I (http://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_8410-Getting-Started-In-WordPress-Part-I.html), I introduced you to the powerful WordPress backend, the WordPress administrative Dashboard.  In Part II, I will introduce yo…
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 update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

617 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